{"id":"CVE-2021-38195","details":"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.","aliases":["GHSA-g4vj-x7v9-h82m","RUSTSEC-2021-0076"],"modified":"2026-03-14T11:04:57.403258Z","published":"2021-08-08T06:15:09.117Z","references":[{"type":"ADVISORY","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsecp256k1/RUSTSEC-2021-0076.md"},{"type":"FIX","url":"https://rustsec.org/advisories/RUSTSEC-2021-0076.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bitcoin/secp256k1","events":[{"introduced":"0"},{"fixed":"e3a885d42a7800c1ccebad94ad1e2b82c4df5c65"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.5.0"}]}}],"versions":["v0.2.0","v0.3.0","v0.3.1","v0.3.2","v0.4.0","v0.4.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38195.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}