High severity7.5NVD Advisory· Published Mar 17, 2026· Updated Jun 3, 2026
CVE-2026-4258
CVE-2026-4258
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sjclnpm | < 1.0.9 | 1.0.9 |
Affected products
3- cpe:2.3:a:bitwiseshiftleft:stanford_javascript_crypto_library:*:*:*:*:*:node.js:*:*Range: <=1.0.8
Patches
Vulnerability mechanics
References
7- github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796nvdPatchWEB
- security.snyk.io/vuln/SNYK-JS-SJCL-15369617nvdExploitThird Party AdvisoryWEB
- gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47nvdThird Party AdvisoryExploitMitigationWEB
- github.com/advisories/GHSA-2w8x-224x-785mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-4258ghsaADVISORY
- github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.jsghsaWEB
- github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js%23L454-L461nvdBroken Link
News mentions
0No linked articles in our index yet.