CVE-2026-4258
published high CVSS 4.0 · 8.7sjcl vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | snyk · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | sjcl | 0 to < 1.0.9 (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:sjcl | 0 and later (affected · semver) | snyk · cna |
Weaknesses
2- CWE-347 Improper Verification of Cryptographic Signature
- CWE-325 CWE-325 Missing Cryptographic Step
References
5- https://gist.github.com/Kr0emer/2560f98edb10b0b34f2438cd63913c47
- https://github.com/bitwiseshiftleft/sjcl/blob/master/core/ecc.js%23L454-L461
- https://github.com/bitwiseshiftleft/sjcl/commit/ee307459972442a17beebc29dc331fffd8aff796
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15751243
- https://security.snyk.io/vuln/SNYK-JS-SJCL-15369617
Provider assertions
2snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 688a12f922f58080ece120ff0fb4da59ba3608d13cc74ec24685ffe0b2c9e43d
- Ingested
- 23 Sep 2026, 09:18:17 UTC
- Source record
- Official CVE record