{"id":"CVE-2026-4258","aliases":["CVE-2026-4258","GHSA-2w8x-224x-785m"],"related":[],"kind":"vulnerability","state":"published","title":"sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Todas las versiones del paquete sjcl son vulnerables a la Verificación Incorrecta de Firma Criptográfica debido a la falta de validación de punto en curva en sjcl.ecc.basicKey.publicKey(). Un atacante puede recuperar la clave privada ECDH de una víctima enviando claves públicas fuera de curva manipuladas y observando las salidas ECDH. La función dhJavaEc() devuelve directamente la coordenada x sin procesar del resultado de la multiplicación escalar (sin hashing), proporcionando un oráculo de texto plano sin requerir ninguna retroalimentación de descifrado.","source":"nvd"}],"published":"2026-03-17T05:00:04.199Z","modified":"2026-08-07T15:25:31.786Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-325","CWE-347"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.0.9","status":"affected"}],"product":"sjcl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"org.webjars.npm:sjcl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.9"}],"ecosystem":"npm","package":"sjcl","purl":"pkg:npm/sjcl","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.0.8"}],"vendor":"bitwiseshiftleft","product":"stanford_javascript_crypto_library","cpe":"cpe:2.3:a:bitwiseshiftleft:stanford_javascript_crypto_library:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15751243","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47","tags":["exploit","mitigation","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js%23L454-L461","tags":["broken-link"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4258","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bitwiseshiftleft/sjcl","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js#L454-L461","tags":["web"],"sources":["ghsa"]}],"credits":["Kr0emer"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-17T13:22:02.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-4258","url":"https://www.cve.org/CVERecord?id=CVE-2026-4258","licence":"CVE Terms of Use","modified":"2026-08-07T15:25:31.786Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2w8x-224x-785m","url":"https://github.com/advisories/GHSA-2w8x-224x-785m","licence":"CC-BY-4.0","modified":"2026-03-25T14:46:29.609Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-4258","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4258","licence":"Public domain","modified":"2026-07-28T16:18:22.213Z"}],"updatedAt":"2026-11-25T22:59:16.035Z","epss":{"score":0.00288,"percentile":0.22885,"date":"2026-12-02T12:00:21.000Z"}}