CVE-2026-125335
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.
Fixes and workarounds
Fix
node-forge (npm): OSV reports a fixed version 1.4.3. Check the advisory for supported release branches.
Source: OSV GHSA-6889-vf6x-f3g5Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| forge digitalbazaar |
< 1.4.3 (affected) | CNA: GitHub_M |
node-forgenode-forge
npm |
≥ 0; < 1.4.3 (affected, semver); OSV events: introduced 0; fixed 1.4.3Source events (semver)
Other versions: unaffected |
OSV GHSA-6889-vf6x-f3g5 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 3.7 low |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | CNA: GitHub_M |
| 3.1 / 3.7 low |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6889-vf6x-f3g5CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/digitalbazaar/forge/pull/1169CNA: GitHub_M · x_refsource_MISC
- https://github.com/digitalbazaar/forge/commit/1b77e6f20082d7484479303d0252d5f427651295CNA: GitHub_M · x_refsource_MISC
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.3CNA: GitHub_M · x_refsource_MISC
- https://github.com/digitalbazaar/forge/commit/1b77e6f20082d7484479303d0252d5f427651295[email protected]
- https://github.com/digitalbazaar/forge/pull/1169[email protected]
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.3[email protected]
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6889-vf6x-f3g5[email protected]
- https://github.com/advisories/GHSA-6889-vf6x-f3g5OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-6889-vf6x-f3g5OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.