{"id":"CVE-2026-4258","aliases":["GHSA-2w8x-224x-785m"],"url":"https://o3.security/vulnerability/CVE-2026-4258","summary":"sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey","details":"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.","published":"2026-03-17T05:00:04.199Z","modified":"2026-08-12T03:51:35.471136745Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"sjcl","fixedVersion":"1.0.9"}],"fix":{"url":"https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796","label":"bitwiseshiftleft/sjcl@ee30745"},"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-JAVA-ORGWEBJARSNPM-15751243"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4258.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4258"},{"type":"FIX","url":"https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.471136745Z"}}