{"id":"GHSA-2w8x-224x-785m","revision":"f25b26a88941424096067b212191c5ba","records":[{"revision":"f25b26a88941424096067b212191c5ba","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2w8x-224x-785m","aliases":["CVE-2026-4258"],"title":"sjcl is missing point-on-curve validation in sjcl.ecc.basicKey.publicKey","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.","state":0,"publishedAt":"2026-03-17T06:31:32+00:00","modifiedAt":"2026-03-25T14:46:29.609642+00:00","affected":[{"ecosystem":"npm","name":"sjcl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-4258","https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796","https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47","https://github.com/bitwiseshiftleft/sjcl","https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js#L454-L461","https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617"],"sourceUrl":"https://github.com/advisories/GHSA-2w8x-224x-785m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2w8x-224x-785m","identifiers":["GHSA-2w8x-224x-785m","CVE-2026-4258"]},"retained":false,"historicalAffected":[]}],"coverage":[]}