Skip to main content
EPSS 0.2%top 84%

CVE-2026-4258: Improper Verification of Cryptographic Signature in sjcl

0
High
VulnerabilityCVE-2026-4258cvecve-2026-4258gcvecwe-325
Published: 03/17/2026 (03/17/2026, 05:00:04 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

sjcl

Affected versions
>=0 <1.0.9

org.webjars.npm:sjcl

Affected versions
>=0
sjcl
pkg:npm/sjcl
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 13:23:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses