{"id":"CVE-2019-25003","aliases":["EUVD-2021-1757","GHSA-hrjm-c879-pp86","RUSTSEC-2019-0027"],"status":"published","title":"libsecp256k1 contains side-channel timing attack","description":"An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. Scalar::check_overflow allows a timing side-channel attack; consequently, attackers can obtain sensitive information.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01703,"percentile":0.77424,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-208"],"published":"2019-10-14T12:00:00Z","modified":"2026-10-24T10:30:49Z","fixes":[{"ecosystem":"crates.io","package":"libsecp256k1","fixed_in":["0.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"libsecp256k1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libsecp256k1","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"libsecp256k1","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.1"}]}]}],"products":[{"vendor":"parity","product":"libsecp256k1"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0027.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25003","tags":["advisory"]},{"url":"https://github.com/paritytech/libsecp256k1/commit/11ba23a9766a5079918cd9f515bc100bc8164b50","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hrjm-c879-pp86"},{"url":"https://github.com/paritytech/libsecp256k1","tags":["package"]},{"url":"https://crates.io/crates/libsecp256k1","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-25003","description":"An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. Scalar::check_overflow allows a timing side-channel attack; consequently, attackers can obtain sensitive information.","status":"published","published":"2020-12-31T08:32:57Z","modified":"2024-08-05T03:00:18.834Z","updated_at":"2026-11-02T14:20:19.737165Z"}],"euvd":[{"id":"EUVD-2021-1757","description":"An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. Scalar::check_overflow allows a timing side-channel attack; consequently, attackers can obtain sensitive information.","status":"published","published":"2020-12-31T08:32:57Z","modified":"2024-08-05T03:00:18Z","updated_at":"2026-11-03T02:40:19.824838Z"}],"ghsa":[{"id":"GHSA-hrjm-c879-pp86","title":"libsecp256k1 contains side-channel timing attack","description":"Versions of libsecp256k1 prior to 0.3.1 did not execute `Scalar::check_overflow` in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying `Scalar::check_overflow` to execute in constant time.","status":"published","published":"2021-08-25T20:46:46Z","modified":"2023-08-25T00:12:25Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-208"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2019-25003","description":"An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. Scalar::check_overflow allows a timing side-channel attack; consequently, attackers can obtain sensitive information.","status":"published","published":"2020-12-31T10:15:14.3Z","modified":"2026-06-17T02:31:27.72Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:05:48.502374Z"}],"osv":[{"id":"CVE-2019-25003","description":"An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. Scalar::check_overflow allows a timing side-channel attack; consequently, attackers can obtain sensitive information.","status":"published","published":"2020-12-31T10:15:14.3Z","modified":"2026-11-03T02:30:47.717114665Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-03T03:05:53.289262Z"},{"id":"GHSA-hrjm-c879-pp86","title":"libsecp256k1 contains side-channel timing attack","description":"Versions of libsecp256k1 prior to 0.3.1 did not execute `Scalar::check_overflow` in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying `Scalar::check_overflow` to execute in constant time.","status":"published","published":"2021-08-25T20:46:46Z","modified":"2023-11-08T04:01:32.045348Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-208"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"RUSTSEC-2019-0027","title":"Flaw in Scalar::check_overflow allows side-channel timing attack","description":"Versions of `libsecp256k1` prior to `0.3.1` did not execute\nScalar::check_overflow in constant time.\n\nThis allows an attacker to potentially leak information via a timing attack.\n\nThe flaw was corrected by modifying Scalar::check_overflow to execute in\nconstant time.","status":"published","published":"2019-10-14T12:00:00Z","modified":"2023-11-08T04:01:32.045348Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
