CVE-2026-4258
HIGH EPSS 15.7%
Published Mar 17, 20263mo ago · Modified Jun 17, 20262w ago
7.7 CVSS 4.0
Published Mar 17, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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 Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
15.7% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-325
CWE-347
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| bitwiseshiftleft | stanford_javascript_crypto_library | * | ≤1.0.8 |
References 4
- gist.github.com https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47
- github.com https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js%23L454-L461
- github.com https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617
Remediation
- github.com https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796