CVE-2026-4258

State
Published
Severity
8.7 High
Published
Mar 17, 2026
Updated
Aug 7, 2026
Reserved
Mar 16, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS: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:Psnyk
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:Psnyk

Weaknesses

  • CWE-347 Improper Verification of Cryptographic Signature
  • CWE-325 Missing Cryptographic Step

Affected Products

ProductVersions
sjcln/a
  • before 1.0.9Affected
org.webjars.npm:sjcln/a
  • all versionsAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.