Use of a Cryptographic Primitive with a Risky Implementation Affecting elliptic package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ELLIPTIC-14908844
  • published19 Jan 2026
  • disclosed8 Jan 2026
  • creditDaniel Bleichenbacher

Introduced: 8 Jan 2026

CVE-2025-14505  (opens in a new tab)
CWE-1240  (opens in a new tab)

How to fix?

There is no fixed version for elliptic.

Overview

elliptic is a fast elliptic-curve cryptography implementation in plain javascript.

Affected versions of this package are vulnerable to Use of a Cryptographic Primitive with a Risky Implementation due to the incorrect computation of the byte-length of k value with leading zeros resulting in its truncation. An attacker can obtain the secret key by analyzing both a faulty signature generated by a vulnerable implementation and a correct signature for the same inputs.

Note:

There is a distinct but related issue CVE-2024-48948.

CVSS Base Scores

version 4.0
version 3.1