CVE-2019-25003
HIGH 7.5CVSS 3.1libsecp256k1 contains side-channel timing attack
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.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-208
- Also known as
- GHSA-hrjm-c879-pp86RUSTSEC-2019-0027
- Sources
- NVDJSONOSV GHSA-hrjm-c879-pp86JSONOSV RUSTSEC-2019-0027JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | parity | libsecp256k1cpe:2.3:a:parity:libsecp256k1:*:*:*:*:*:rust:*:* |
< 0.3.1 | 0.3.1 |
| OSV | crates.io | libsecp256k1 | < 0.3.1 | 0.3.1 |
| OSV | crates.io | libsecp256k1 | >= 0.0.0-0, < 0.3.1 | 0.3.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2019-0027.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-25003 · ADVISORY
- https://github.com/paritytech/libsecp256k1/commit/11ba23a9766a5079918cd9f515bc100bc8164b50 · WEB
- https://github.com/paritytech/libsecp256k1 · PACKAGE
- https://crates.io/crates/libsecp256k1 · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Oct 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)