[Pkg-javascript-devel] Bug#1153983: node-create-ecdh: CVE-2026-129319

Salvatore Bonaccorso carnil at debian.org
Sat Nov 14 15:37:32 GMT 2026


Source: node-create-ecdh
Version: 4.0.4-1
X-Debbugs-CC: team at security.debian.org
Severity: important
Tags: security upstream

Hi,

The following vulnerability was published for node-create-ecdh.

CVE-2026-129319[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-129319
    https://www.cve.org/CVERecord?id=CVE-2026-129319
[1] https://github.com/browserify/createECDH/security/advisories/GHSA-32q7-f779-hw5r
[2] https://github.com/browserify/createECDH/commit/1cfaf332773237e5fea4b51a2ad3efab4c22bec1

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the Pkg-javascript-devel mailing list