CVE-2026-125332: Forge: TLS client crash on an unsupported ServerHello compression method
Published 2026-11-10 · Updated 2026-11-10 · Also known as GHSA-w4xr-hqv8-ch44
Summary
The forge.tls client improperly validates the compression method in a ServerHello, leading to an uncaught exception and process termination when communicating with a malicious or compromised server. Developers utilizing node-forge as a TLS client should update to version 1.4.3 to prevent denial-of-service vulnerabilities.
Who is affected
Applications using node-forge for TLS client operations are vulnerable, specifically those invoking forge.tls.wrapSocket or forge.http. An on-path attacker or malicious server can trigger a crash by sending an unsupported compression method during the TLS handshake before authentication occurs. This results in the termination of the Node.js process, causing all existing connections to be dropped.
Exploitability
The vulnerability is remotely exploitable but requires high complexity, as indicated by the CVSS 3.1 vector. It currently maintains an EPSS score of 0.005 and is not listed in the CISA Known Exploited Vulnerabilities catalog, suggesting a low likelihood of widespread active exploitation.
Remediation
- Upgrade the node-forge package to version 1.4.3 or later.
- Implement exception handling around calls to connection.process() to catch errors and gracefully close sockets if an immediate upgrade is not feasible.
How to check your project
- Check package-lock.json or yarn.lock for instances of 'node-forge' with versions less than 1.4.3.
- Search the project codebase for usage of 'forge.tls.wrapSocket' or 'forge.http' to identify potential attack vectors.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | node-forge |
>= 0, < 1.4.3 | 1.4.3 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
Are TLS servers built with node-forge affected?
No, servers are not affected because they always select no compression and do not encounter the logic error present in the client-side code.
Can an attacker compromise the confidentiality or integrity of my data?
No, there is no confidentiality or integrity impact associated with this flaw; the impact is strictly limited to availability due to process termination.
What happens if I cannot update immediately?
You can implement a workaround by wrapping calls to connection.process() in try-catch blocks and ensuring the socket is properly closed when an error is caught.
Original advisory description
References
- WEB https://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44
- WEB https://github.com/digitalbazaar/forge/pull/1169
- WEB https://github.com/digitalbazaar/forge/commit/1d9816d333c23c523ef2bd8b24282c87db2654ef
- PACKAGE https://github.com/digitalbazaar/forge
- WEB https://github.com/digitalbazaar/forge/releases/tag/v1.4.3
Source records: GHSA-w4xr-hqv8-ch44 (OSV.dev) · EPSS by FIRST, 2026-11-26.