CVE-2021-38195: parity libsecp256k1
Modified
AliasesGHSA-g4vj-x7v9-h82mRUSTSEC-2021-0076
Published 08-08-2021Last modified 04-08-2024
Vulnerability summary
CVE-2021-38195 is a critical (CVSS 9.8) vulnerability in parity libsecp256k1. EPSS estimates a 0.94% chance of exploitation in the next 30 days, higher than 60.3% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
0.94%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference
Timeline
- 08-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust. It can verify an invalid signature because it allows the R or S parameter to be larger than the curve order, aka an overflow.
CVSS metrics
3 scores · 2 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · Crates.ioEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
0.94%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.94% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (rustsec.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- libsecp256k1< 0.5.0 | ≥ 0.0.0-0, < 0.5.0
Parity1 product
- libsecp256k1< 0.5.0
2 vendors · 2 products
References
6 links- rustsec.org/advisories/RUSTSEC-2021-0076.htmlX Refsource MISCWEBAdvisoryExploitIssue TrackingPatchThird Party Advisory
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsecp256k1/RUSTSEC-2021-0076.mdX Refsource MISCThird Party Advisory