CVE-2026-4258

HIGH CVSS 4.0: 7.7 EPSS 0.29%
Updated Jul 28, 2026
Bitwiseshiftleft
Parameter Value
CVSS 7.7 (HIGH)
Affected Versions before 1.0.8
Type CWE-347 (Improper Verification of Cryptographic Signature), CWE-325
Vendor Bitwiseshiftleft
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Bitwiseshiftleft Stanford_Javascript_Crypto_Library
cpe:2.3:a:bitwiseshiftleft:stanford_javascript_crypto_library:*:*:*:*:*:node.js:*:*
— <= 1.0.8