CVE-2026-125333

GHSA-6cv4-p8m7-4r25 · published 10 Nov 2026 · updated 17 Nov 2026

Forge: ReDoS in forge.http response header and cookie trimming

6.9MediumCVSS 5.9EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.4.3 and node-forge 1.4.3.

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. From 0.1.2 until 1.4.3, forge.http uses _trimString() in lib/http.js to remove trailing whitespace from response header values and cookie names and values with a regular expression that can take quadratic time. A malicious server or on-path attacker can supply a long whitespace run followed by a non-whitespace character in a response header, causing response.readHeader() or response.getCookies() to repeatedly scan the input and block the Node.js event loop or browser tab for minutes. Applications are affected only when they use forge.http with a socket pool to communicate with an untrusted server; forge.http is not loaded by require('node-forge'), and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
digitalbazaarforge>=0.1.2 <1.4.31.4.3
digitalbazaar>=0.1.2 <1.4.3
npm: node-forge>=0.1.2 <1.4.3, >=0.1.2 <=1.4.21.4.3

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in node-forge (npm), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125333 severity on Zeptric[![CVE-2026-125333](https://zeptric.io/badge/cve/CVE-2026-125333.svg)](https://zeptric.io/cve/CVE-2026-125333)