{"id":"CVE-2026-4258","published":"2026-03-17T05:00:04Z","modified":"2026-08-07T15:25:31Z","title":"Versions of the package sjcl before 1.0.9 are vulnerable to Improper Verification of Cryptographic Signature due to…","vendor":null,"product":null,"tier":"tail","description":{"text":"Versions of the package sjcl before 1.0.9 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00288,"percentile":0.21814,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"},{"id":"CWE-325","name":"Missing Cryptographic Step"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15751243","tags":[]},{"url":"https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47","tags":[]},{"url":"https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js%23L454-L461","tags":[]},{"url":"https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796","tags":[]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.36},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"sjcl","versions":["< 1.0.9"]},{"vendor":"n/a","product":"org.webjars.npm:sjcl","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-17T13:22:02.709429Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sjcl","vulnerableRanges":["<1.0.9"],"patched":["1.0.9"],"from":["GHSA-2w8x-224x-785m"],"provenance":"source"}],"summary":{"text":"The sjcl (Stanford JavaScript Crypto Library) package, in versions before 1.0.9, fails to validate that ECC public keys lie on the curve in its sjcl.ecc.basicKey.publicKey() routine, and the dhJavaEc() function returns the raw x-coordinate of the scalar multiplication result without hashing. A remote attacker with no privileges and no user interaction can submit crafted off-curve public keys and observe the resulting ECDH outputs to recover a victim's ECDH private key.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:04Z"},"euvd":{"id":"EUVD-2026-12542","exploited":false,"provenance":"source"}}