Live threats

All CVEs / Bitwiseshiftleft

CVE-2026-4258Bitwiseshiftleft Stanford Javascript Crypto Library

High 7.7 No auth needed

Priority
61
CVSS 4.0
7.7
EPSS
—
Auth required
No
Published
Mar 17, 2026
Updated
Jul 28, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347, CWE-325
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
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/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Stanford Javascript Crypto Library.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm sjcl < 1.0.9 1.0.9 npm install sjcl@1.0.9

Per OSV / GitHub Advisories (GHSA-2w8x-224x-785m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
bitwiseshiftleftstanford_javascript_crypto_library≤ 1.0.8

Official sources

References

Links published by the sources. Open them with care.