Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-125335: forge node-forge can accept forged signatures using crafted keys
CVE-2026-125335 · published 11 days ago
Summary
Older versions of the forge library may accept specially crafted public keys that let an attacker create signatures that appear valid for many or all messages without possessing the private key. This can break trust checks that rely on signatures to prove who signed a message. Update to version 1.4.3 or later to resolve the issue.
What to do
- Update node-forge to version 1.4.3.
- Update digitalbazaar forge to version 1.4.3 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | digitalbazaar | forge | < 1.4.3 |
| npm | – | node-forge |
<= 1.4.2 Fix: upgrade to 1.4.3
|
| Ubuntu:20.04:LTS | canonical | node-node-forge | All versions |
Original advisory text
Forge: Ed25519 signature verification accepts small-order public keys
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.
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6889-vf6x-f3g5 Vendor Advisory
- https://github.com/digitalbazaar/forge/commit/1b77e6f20082d7484479303d0252d5f427... Patch
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.3 URL
- https://github.com/advisories/GHSA-6889-vf6x-f3g5
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-1253... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-125335 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-125335 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-125335 Third Party Advisory
- https://github.com/digitalbazaar/forge/pull/1169 Patch
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-347Improper Verification of Cryptographic Signature
Timeline
Published10 Nov 2026
Updated22 Nov 2026
First seen10 Nov 2026
Sources
CVE-2026-125335 · NVD
CVE-2026-125335 · MITRE
GHSA-6889-vf6x-f3g5 · GHSA
CVE-2026-125335 · OSV
UBUNTU-CVE-2026-125335 · OSV
Track software like this
Free during beta