{"id":"CVE-2026-4258","details":"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.","aliases":["GHSA-2w8x-224x-785m"],"modified":"2026-04-10T05:43:25.695908Z","published":"2026-03-17T06:16:18.590Z","references":[{"type":"WEB","url":"https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47"},{"type":"WEB","url":"https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js%23L454-L461"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617"},{"type":"FIX","url":"https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bitwiseshiftleft/sjcl","events":[{"introduced":"0"},{"fixed":"ee307459972442a17beebc29dc331fffd8aff796"}]}],"versions":["1.0.0","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4258.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}