Bug 2574431 (CVE-2026-129319)

Summary: CVE-2026-129319 create-ecdh: create-ecdh: Private key recovery via missing peer public key validation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abarbaro, akhatavk, alizardo, amctagga, aoconnor, aos-team-art-private, aruklets, asdas, bniver, dhanak, doconnor, dpaolell, drosa, dsimansk, flucifre, fmariani, gmalinko, gmeno, groman, janstey, jchui, jdelft, jhe, jlanda, jupierce, jwon, kaycoth, kingland, kshier, ktsao, lchilton, lgarciaa, mbenjamin, mbiarnes, mcarlett, mhackett, mnovotny, nboldt, oaljalju, pdelbell, pjindal, ppalepu, ppostler, prdhamdh, psrna, rbobbitt, rhel-process-autobot, rstepani, sausingh, sdawley, sfeifer, sghai, shudeshp, sidsharm, simaishi, sostapov, stcannon, suppawar, tcunning, tmielke, vereddy, vlaad, watson-tool-maintainers, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in create-ecdh. A remote attacker can exploit this vulnerability by submitting specially crafted public keys to an application that reuses a private key during Elliptic Curve Diffie-Hellman (ECDH) key agreement. Because the component fails to validate that peer keys represent valid points on the intended curve, an attacker can extract the private key or force a predictable shared secret. This failure leads to the compromise of cryptographic keys and enables unauthorized decryption of sensitive communications.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2578267, 2578268, 2578269, 2578270    
Bug Blocks:    

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.