CVE-2026-129319
Published:November 14, 2026
Updated:November 16, 2026
create-ecdh is a browserifiable implementation of Node.js crypto.createECDH. In versions 4.0.4 and below, the JavaScript implementation (browser.js, used by browser bundlers and on Node.js versions without a working native crypto.createECDH) did not validate peer public keys in ECDH.prototype.computeSecret or ECDH.prototype.setPublicKey. The peer point was multiplied by the local private key without checking that it was on the configured curve or in its prime-order subgroup. An attacker who can submit public keys to a party that reuses a static private key can perform an invalid-curve or small-subgroup attack and recover the private key modulo small factors, eventually recovering the full key via the Chinese Remainder Theorem. For the ed25519 and curve25519 curves, low-order points were also accepted, which could force a predictable shared secret. On modern Node.js, create-ecdh re-exports the native implementation, which is not affected. This issue is fixed in version 4.0.5.
Affected Packages
https://github.com/browserify/createECDH.git (GITHUB):
Affected version(s) >=v1.0.1 <v4.0.5 || >=v2.0.0 <v4.0.5 || =v3.0.0 <v4.0.5 || >=v4.0.0 <v4.0.5Fix Suggestion:
Update to version v4.0.5create-ecdh (NPM):
Affected version(s) >=1.0.0 <4.0.5 || >=4.0.0 <4.0.5 || =3.0.0 <4.0.5 || >=2.0.0 <4.0.5Fix Suggestion:
Update to version 4.0.5Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.25