CVE-2026-4258
Last modified
CVE-2026-4258 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. All versions of the package sjcl are vulnerable to Improper Verification of Cryptographic Signature due to missing point-on-curve validation in sjcl.ecc.basicKey.publicKey(). An attacker can recover a victim's ECDH private key by sending crafted off-curve public keys and observing ECDH outputs. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
All versions of the package sjcl are vulnerable to Improper Verification of Cryptographic Signature due to missing point-on-curve validation in sjcl.ecc.basicKey.publicKey(). An attacker can recover a victim's ECDH private key by sending crafted off-curve public keys and observing ECDH outputs. The dhJavaEc() function directly returns the raw x-coordinate of the scalar multiplication result (no hashing), providing a plaintext oracle without requiring any decryption feedback.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Bitwiseshiftleft | Stanford Javascript Crypto Library | <= 1.0.8 |
References
- https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47Exploit, Mitigation, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617Exploit, Third Party Advisory
- https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47Exploit, Mitigation, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-4258?
How severe is CVE-2026-4258?
How do I fix CVE-2026-4258?
Are you affected by CVE-2026-4258?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
