SB2026110691 - Multiple vulnerabilities in node-forge
Published: November 6, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-33894)
CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to forge RSA signatures accepted as valid by node-forge when verification uses keys with public exponent 3.
The vulnerability exists due to acceptance of extra fields within the ASN.1 DigestInfo structure during default RSASSA-PKCS1-v1_5 signature verification, even with strict parsing enabled. An unauthenticated remote attacker can embed attacker-controlled bytes in an additional field to construct a signature that passes verification without possessing the private key.
2) Infinite loop (CVE-ID: CVE-2026-33891)
CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to render an application using node-forge unresponsive indefinitely.
The vulnerability exists due to missing zero-value validation in node-forge's BigInteger.modInverse() function, which enters an infinite loop when called on zero. An unauthenticated remote attacker can submit a crafted input to an application that passes untrusted values to this function, blocking the Node.js event loop and consuming CPU without user interaction.
3) Improper Certificate Validation (CVE-ID: CVE-2026-33896)
CWE-ID: CWE-295 - Improper Certificate Validation
CVSSv4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to have forged certificates for arbitrary domains accepted as valid by applications using node-forge.
The vulnerability exists due to missing CA authorization checks in certificate chain verification when an intermediate certificate lacks both basicConstraints and keyUsage extensions. An unauthenticated remote attacker can use a trusted leaf certificate lacking these extensions and its private key to sign certificates that pass verification.
4) Improper Verification of Cryptographic Signature (CVE-ID: CVE-2026-33895)
CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows an unauthenticated remote attacker to bypass replay tracking in applications that rely on Ed25519 signature bytes being unique.
The vulnerability exists due to missing validation that the signature scalar S is smaller than the group order L in node-forge's default Ed25519 verification API when processing non-canonical signatures. An unauthenticated remote attacker can add L to S in an existing valid signature and obtain a different signature that verifies for the same message.
Remediation
Install update from vendor's website.
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-ppp5-5v6c-4jwp
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5m6q-g25r-mvwx
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-2328-f5f3-gj25
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-q67f-28xg-22rw