# CVE-2020-28498: Cryptographic Issues

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.25% (percentile 69, 2026-11-26)
- **CWE:** CWE-327
- **Aliases:** GHSA-r9p9-mrjm-926w
- **Published:** 2021-02-02T18:50:18.725Z
- **Modified:** 2026-06-17T03:10:32.537Z

## Who should check

- Projects that depend on npm package elliptic (\< 6.5.4)
- Anyone running elliptic \< 6.5.4

## Description

The package elliptic before 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.

## Affected and fixed versions

- npm `elliptic`: affected \< 6.5.4; fixed 6.5.4 (osv)
- elliptic: \< 6.5.4 (cvelist)

## Mitigation

- Upgrade elliptic to 6.5.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-28498. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-28498.md
Affected: elliptic < 6.5.4
Fixed in: 6.5.4

Steps:
1. Search this machine and project for elliptic (npm), elliptic: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-28498 being exploited?

There is no confirmed exploitation: CVE-2020-28498 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-28498?

Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2020-28498?

elliptic \< 6.5.4.

### Is there a fix for CVE-2020-28498?

Yes. Fixed in 6.5.4. Upgrade elliptic to 6.5.4 or later.

### How do I check if I'm affected by CVE-2020-28498?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-28498>
- patch: <https://snyk.io/vuln/SNYK-JS-ELLIPTIC-1064899>
- patch: <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1069836>
- patch: <https://github.com/indutny/elliptic/commit/441b7428b0e8f6636c42118ad2aaa186d3c34c3f>
- patch: <https://github.com/indutny/elliptic/pull/244/commits>
- other: <https://github.com/christianlundkvist/blog/blob/master/2020_05_26_secp256k1_twist_attacks/secp256k1_twist_attacks.md>
- other: <https://www.npmjs.com/package/elliptic>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-28498>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r9p9-mrjm-926w> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-28498> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-28498>
