CVE-2026-4258: Improper Verification of Cryptographic Signature in sjcl
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.
AI Analysis
Technical Summary
CVE-2026-4258 affects sjcl versions prior to 1.0.9 and involves improper verification of cryptographic signatures. The vulnerability is caused by the lack of point-on-curve validation in sjcl.ecc.basicKey.publicKey(), which enables attackers to submit crafted off-curve public keys. By doing so and observing the outputs of the ECDH key exchange, attackers can recover the victim's ECDH private key. The dhJavaEc() function exacerbates this issue by returning the raw x-coordinate of the scalar multiplication result without hashing, thus leaking sensitive information directly.
Potential Impact
An attacker can recover the victim's ECDH private key, compromising the confidentiality of cryptographic operations relying on this key. This undermines the security guarantees of ECDH key exchanges performed using vulnerable versions of sjcl, potentially allowing decryption of sensitive communications or impersonation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided at this time. Users should monitor sjcl vendor communications for updates and avoid using vulnerable versions in security-critical contexts until a fix is available.
CVE-2026-4258: Improper Verification of Cryptographic Signature in sjcl
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.
CVSS v4.0
Score 8.7high
Affected software
sjcl
org.webjars.npm:sjcl
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4258 affects sjcl versions prior to 1.0.9 and involves improper verification of cryptographic signatures. The vulnerability is caused by the lack of point-on-curve validation in sjcl.ecc.basicKey.publicKey(), which enables attackers to submit crafted off-curve public keys. By doing so and observing the outputs of the ECDH key exchange, attackers can recover the victim's ECDH private key. The dhJavaEc() function exacerbates this issue by returning the raw x-coordinate of the scalar multiplication result without hashing, thus leaking sensitive information directly.
Potential Impact
An attacker can recover the victim's ECDH private key, compromising the confidentiality of cryptographic operations relying on this key. This undermines the security guarantees of ECDH key exchanges performed using vulnerable versions of sjcl, potentially allowing decryption of sensitive communications or impersonation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided at this time. Users should monitor sjcl vendor communications for updates and avoid using vulnerable versions in security-critical contexts until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-03-16T10:00:53.239Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69b8e675771bdb17495b6829
Added to database: 03/17/2026, 05:28:21 UTC
Last enriched: 08/08/2026, 13:23:47 UTC
Last updated: 09/14/2026, 10:01:31 UTC
Views: 389
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.