{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-38195","id":"CVE-2021-38195","title":"Overflow in libsecp256k1","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.","descriptionLong":"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.","published":"2021-08-08T05:07:36.000Z","updated":"2026-11-03T02:30:33.281312929Z","reserved":"2021-08-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"libsecp256k1","purl":"pkg:cargo/libsecp256k1","ranges":["<0.5.0",">=0.0.0-0 <0.5.0"],"fixed":["0.5.0"],"advisory":"GHSA-g4vj-x7v9-h82m"}],"cwes":["CWE-347","CWE-190"],"aliases":["GHSA-g4vj-x7v9-h82m","RUSTSEC-2021-0076"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0076.html","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsecp256k1/RUSTSEC-2021-0076.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38195","tags":["advisory"]},{"url":"https://github.com/paritytech/libsecp256k1/pull/67","tags":["web"]},{"url":"https://github.com/paritytech/libsecp256k1","tags":["package"]},{"url":"https://crates.io/crates/libsecp256k1","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00909,"epssPercentile":0.60815,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-38195","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38195","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-38195","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g4vj-x7v9-h82m","ok":true,"note":"GHSA-g4vj-x7v9-h82m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-38195","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}