IntelligenceAdvisoriesAdvisory
GHSA-r9p9-mrjm-926w
Elliptic Uses a Broken or Risky Cryptographic Algorithm
In short
What to know.
- Package
- elliptic npmbefore 6.5.4
- What to do
- Upgrade elliptic to 6.5.4 or later.
- Source's rating
- ModerateNoumen has not assessed it.
- Noumen finding
- NMN-2026-0013Candidate. Severity moderate, confidence high.
3 December 2026
Source
- OSV record GHSA-r9p9-mrjm-926wosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-r9p9-mrjm-926w
- Aliases
- CVE-2020-28498
- Severity
- Moderate, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- Fixed versions
- 6.5.4
- Published
- 8 March 2021
- Modified
- 14 January 2025
- Source
- OSV record GHSA-r9p9-mrjm-926w, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| elliptic npm | before 6.5.4 | 6.5.4 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
The npm package `elliptic` before version 6.5.4 are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed.
References
- advisorynvd.nist.gov/vuln/detail/CVE-2020-28498
- webgithub.com/indutny/elliptic/pull/244/commits
- webgithub.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f
- webgithub.com/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md
- websnyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836
- websnyk.io/vuln/SNYK-JS-ELLIPTIC-1064899
- webwww.npmjs.com/package/elliptic
