CVE-2026-125335
Forge: Ed25519 signature verification accepts small-order public keys
Also known as GHSA-6889-vf6x-f3g5
Mitigation
- Upgrade node-forge to 1.4.3 or later.
Who should check
- Projects that depend on npm package node-forge (<= 1.4.2)
- Anyone running digitalbazaar forge < 1.4.3
Vulnerability facts
- Affected
- node-forge <= 1.4.2
- Fixed in
- 1.4.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-28)
- CWE
- CWE-347
- Modified
Description
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, ed25519.verify() decodes a public key in crypto_sign_open() without rejecting small-order points or their non-canonical encodings. With S = 0 and a small-order R value, an attacker who can choose the public key can produce signatures that verify for many messages, or all messages with the identity key, without a private key. This can defeat proof-of-possession, attribution, non-repudiation, or deduplication checks that rely on a signature being bound to the message. Keys produced by normal Ed25519 key generation are not small-order, so applications that verify only trusted or internally generated public keys are not affected. This issue is fixed in version 1.4.3.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm node-forge | <= 1.4.2 | 1.4.3 | ghsa |
| digitalbazaar forge | < 1.4.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-125335. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-125335.md Affected: node-forge <= 1.4.2 Fixed in: 1.4.3 Steps: 1. Search this machine and project for node-forge (npm), digitalbazaar forge: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Patches
FAQ
Is CVE-2026-125335 being exploited?
There is no confirmed exploitation: CVE-2026-125335 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-125335?
Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-125335?
node-forge <= 1.4.2.
Is there a fix for CVE-2026-125335?
Yes. Fixed in 1.4.3. Upgrade node-forge to 1.4.3 or later.
How do I check if I'm affected by CVE-2026-125335?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More node-forge vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.9 | CVE-2026-125334 Forge: TLS client crash on a handshake record received without a session | npm packages | EPSS 22% | |
| MEDIUM 5.9 | CVE-2026-125333 Forge: ReDoS in forge.http response header and cookie trimming | npm packages | EPSS 41% | |
| MEDIUM 5.9 | CVE-2026-125332 Forge: TLS client crash on an unsupported ServerHello compression method | npm packages | EPSS 41% | |
| LOW 3.7 | CVE-2026-118774 Forge: Certificate signature verified with the issuer's RSA signature scheme | npm packages | EPSS 3% | |
| LOW 3.7 | CVE-2026-118776 Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption | npm packages | EPSS 6% |