CVE-2026-119192
HIGH 7.5CVSS 3.1Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding
Forge, also called node-forge, is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, publicKey.verify() with the default RSASSA-PKCS1-V1_5 scheme in lib/rsa.js parses the recovered DigestInfo with the lenient BER parser asn1.fromDer() and validates its structure with digestInfoValidator without requiring canonical DER bytes. Non-minimal or indefinite lengths, malformed parameter values, and non-canonical object identifier encodings with padded subidentifiers or trailing bytes can leave attacker-controlled data inside an accepted DigestInfo. When the verifying RSA public key uses a low exponent such as e=3, an attacker can use that encoding slack to forge a signature without the private key. The same path is used by X.509 certificate and PKCS#7 signature verification. This issue is fixed in version 1.4.1.
- Published
- 17 Nov 2026
- Last modified
- 18 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-347
- Also known as
- GHSA-6qrw-m8cv-hcxf
- Sources
- NVDJSONOSV GHSA-6qrw-m8cv-hcxfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | node-forge | < 1.4.1 | 1.4.1 |
References
- https://github.com/digitalbazaar/forge/commit/2bce9d477a2ff436e86ff9694ae999f1552aa2bb · WEB
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1 · WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-6qrw-m8cv-hcxf · WEB
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-2g46-22mc-6gwp · WEB
- https://github.com/digitalbazaar/forge · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 17 Nov 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 Nov 2026)