elliptic
Pure JavaScript elliptic-curve library with ECDSA on secp256k1 and the NIST P curves, EdDSA on Ed25519, and ECDH.
In short
What to know.
- Algorithms
- ECDSA on secp256k1, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521 and 2 more6 of 6 would be broken by a large quantum computer.
- Advisories
- 9 in the storeOSV last read 3 December 2026, 16:47 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from ECDSA on secp256k1, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves) before large quantum computers exist.
9 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Elliptic Uses a Cryptographic Primitive with a Risky Implementation | GHSA-848j-6mx2-7j84 | up to and including 6.6.1 | Rated Low | |
| Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string) | GHSA-vjh7-7g9h-fjfh | before 6.6.1 | Fixed in 6.6.1 | Rated Critical |
| Valid ECDSA signatures erroneously rejected in Elliptic | GHSA-fc9h-whq2-v747 | before 6.6.0 | Fixed in 6.6.0 | Rated Low |
| Elliptic's verify function omits uniqueness validation | GHSA-434g-2637-qmqr | before 6.5.6 | Fixed in 6.5.6 | Rated Low |
| Elliptic's EDDSA missing signature length check | GHSA-f7q4-pwc6-w24p | from 4.0.0 before 6.5.7 | Fixed in 6.5.7 | Rated Low |
| Elliptic's ECDSA missing check for whether leading bit of r and s is zero | GHSA-977x-g7h5-7qgw | from 2.0.0 before 6.5.7 | Fixed in 6.5.7 | Rated Low |
| Elliptic allows BER-encoded signatures | GHSA-49q7-c7j4-3p7m | from 5.2.1 before 6.5.7 | Fixed in 6.5.7 | Rated Low |
| Elliptic Uses a Broken or Risky Cryptographic Algorithm | GHSA-r9p9-mrjm-926w | before 6.5.4 | Fixed in 6.5.4 | Rated Moderate |
| Signature Malleabillity in elliptic | GHSA-vh7m-p724-62c2 | before 6.5.3 | Fixed in 6.5.3 | Rated High |
9 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Elliptic's private key extraction in ECDSA upon signing a malformed input (e.g. a string) | NMN-2026-0017 | Severity Critical | 3 December 2026 |
| Signature Malleabillity in elliptic | NMN-2026-0015 | Severity High | 3 December 2026 |
| Elliptic Uses a Broken or Risky Cryptographic Algorithm | NMN-2026-0013 | Severity Moderate | 3 December 2026 |
| Valid ECDSA signatures erroneously rejected in Elliptic | NMN-2026-0012 | Severity Low | 3 December 2026 |
| Elliptic's EDDSA missing signature length check | NMN-2026-0010 | Severity Low | 3 December 2026 |
| Elliptic's ECDSA missing check for whether leading bit of r and s is zero | NMN-2026-0009 | Severity Low | 3 December 2026 |
| Elliptic Uses a Cryptographic Primitive with a Risky Implementation | NMN-2026-0007 | Severity Low | 3 December 2026 |
| Elliptic allows BER-encoded signatures | NMN-2026-0006 | Severity Low | 3 December 2026 |
| Elliptic's verify function omits uniqueness validation | NMN-2026-0004 | Severity Low | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for ellipticregistry.npmjs.orgRetrieved 3 December 2026
- elliptic READMEgithub.comRetrieved 3 December 2026
Full record
- Package
- elliptic
- Ecosystem
- npm
- Role
- Implementation
- Repository
- github.com/indutny/elliptic
- Status
- Not marked deprecated by its registry or maintainers.
- 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:47 UTC
- Findings
- 9 listed above.
Algorithms it provides
- ECDSA on secp256k1 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
- Ed25519 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, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, Ed25519, ECDH (Weierstrass curves)
Notes describe algorithm families, not any one project.