CVE-2026-4258 PUBLISHED

Assigner: snyk
Reserved: 16.03.2026 Published: 17.03.2026 Updated: 17.03.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor n/a
Product sjcl
Versions
  • affected from 0 to * (excl.)

Credits

  • Kr0emer

References

Problem Types

  • Improper Verification of Cryptographic Signature