What’s Vulnerable › Vulnerabilities
CVE-2021-38195
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-08-08 · updated 2026-06-17
- Weakness: CWE-347
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.
Affected products
- Parity Libsecp256K1: before 0.5.0 — fixed in 0.5.0
How to fix
Upgrade to a fixed version: Parity Libsecp256K1 0.5.0. Check the vendor advisory for mitigations.
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsecp256k1/RUSTSEC-2021-0076.md
- https://rustsec.org/advisories/RUSTSEC-2021-0076.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsecp256k1/RUSTSEC-2021-0076.md
- https://rustsec.org/advisories/RUSTSEC-2021-0076.html
Get alerted when CVE-2021-38195 or the next vulnerability affects your stack