Bug 2574431 (CVE-2026-129319) - CVE-2026-129319 create-ecdh: create-ecdh: Private key recovery via missing peer public key validation
Summary: CVE-2026-129319 create-ecdh: create-ecdh: Private key recovery via missing pe...
Keywords:
Status: NEW
Alias: CVE-2026-129319
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2578267 2578268 2578269 2578270
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-17 15:31 UTC by OSIDB Bzimport
Modified: 2026-11-20 14:06 UTC (History)
65 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-17 15:31:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.