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.
History

Wed, 03 Jun 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Bitwiseshiftleft stanford Javascript Crypto Library
CPEs cpe:2.3:a:bitwiseshiftleft:stanford_javascript_crypto_library:*:*:*:*:*:node.js:*:*
Vendors & Products Bitwiseshiftleft stanford Javascript Crypto Library

Tue, 17 Mar 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-325
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 17 Mar 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Bitwiseshiftleft
Bitwiseshiftleft sjcl
Vendors & Products Bitwiseshiftleft
Bitwiseshiftleft sjcl

Tue, 17 Mar 2026 05:30:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-347
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2026-03-17T13:22:11.049Z

Reserved: 2026-03-16T10:00:53.239Z

Link: CVE-2026-4258

cve-icon Vulnrichment

Updated: 2026-03-17T13:21:33.775Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-17T06:16:18.590

Modified: 2026-06-03T14:47:21.340

Link: CVE-2026-4258

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-24T10:49:33Z