An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust.
Priority MEDIUM 44CWE-347Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-347, CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00909 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed libsecp256k1 (crates.io): 0.5.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | libsecp256k1 (crates.io) | before 0.5.0 | 0.5.0 | Patch available | GHSA-g4vj-x7v9-h82m |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- libsecp256k1 (crates.io) Vendor— Affected before 0.5.0 Fixed in 0.5.0 Patch available GHSA-g4vj-x7v9-h82m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:parity:libsecp256k1:*:*:*:*:*:rust:*:* | before 0.5.0 | Vulnerable | paritytech |
- cpe:2.3:a:parity:libsecp256k1:*:*:*:*:*:rust:*:* Versions before 0.5.0 Vulnerable ·paritytech
Remediation
- Fix · GHSA-g4vj-x7v9-h82m libsecp256k1 (crates.io) Fixed in 0.5.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-38195
- 2026-10-03 Alias added: GHSA-g4vj-x7v9-h82m
References
Advisory 2
More paritytech Libsecp256k1 vulnerabilities
- TI-2019-15144 An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. CVSS 3.1HIGH 7.5
- TI-2019-14633 A timing vulnerability in the Scalar::check_overflow function in Parity libsecp256k1-rs… CVSS 3.1MEDIUM 5.9
Sources
- CVE-2021-38195 · CVE Program
- CVE-2021-38195 · NVD
- FIRST EPSS
- GHSA-g4vj-x7v9-h82m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences