IntelligenceComponentscrates.io
libsecp256k1
Pure Rust secp256k1 ECDSA signing, verification, public key recovery and shared secret derivation.
In short
What to know.
- Algorithms
- ECDSA on secp256k1, ECDH (Weierstrass curves)2 of 2 would be broken by a large quantum computer.
- Advisories
- 5 in the storeOSV last read 3 December 2026, 16:49 UTC.
- What to do
- Its source marks it deprecated or unmaintained: plan a replacement. Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from ECDSA on secp256k1, ECDH (Weierstrass curves) before large quantum computers exist.
5 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| libsecp256k1 is unmaintained | RUSTSEC-2025-0161 | from 0.0.0-0, no fix listed | ||
| Overflow in libsecp256k1 | GHSA-g4vj-x7v9-h82m | before 0.5.0 | Fixed in 0.5.0 | Rated Critical |
| libsecp256k1 contains side-channel timing attack | GHSA-hrjm-c879-pp86 | before 0.3.1 | Fixed in 0.3.1 | Rated High |
| libsecp256k1 allows overflowing signatures | RUSTSEC-2021-0076 | from 0.0.0-0 before 0.5.0 | Fixed in 0.5.0 | |
| Flaw in Scalar::check_overflow allows side-channel timing attack | RUSTSEC-2019-0027 | from 0.0.0-0 before 0.3.1 | Fixed in 0.3.1 |
3 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| libsecp256k1 is unmaintained | NMN-2026-0093 | 3 December 2026 | |
| Flaw in Scalar::check_overflow allows side-channel timing attack | NMN-2026-0091 | 3 December 2026 | |
| libsecp256k1 allows overflowing signatures | NMN-2026-0089 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for libsecp256k1crates.ioRetrieved 3 December 2026
- libsecp256k1 0.7.2 README on crates.iocrates.ioRetrieved 3 December 2026
- libsecp256k1 documentationdocs.rsRetrieved 3 December 2026
- RustSec advisory RUSTSEC-2025-0161: libsecp256k1 is unmaintainedrustsec.orgRetrieved 3 December 2026
Full record
- Package
- libsecp256k1
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/paritytech/libsecp256k1
- Status
- Marked deprecated or unmaintained by its source.
- Notes
- RustSec marks this crate unmaintained (RUSTSEC-2025-0161) and the maintainers recommend k256 instead; the GitHub repository is archived.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:49 UTC
- Findings
- 3 listed above.
Algorithms it provides
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.ECDSA on secp256k1, ECDH (Weierstrass curves)
Notes describe algorithm families, not any one project.