Inefficient regular expression complexity in node-forge - CVE-2026-125333
Published: November 6, 2026 / Updated: November 11, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to deny service to applications using node-forge's forge.http client.
The vulnerability exists due to quadratic regular expression processing when forge.http trims response headers and cookies containing long whitespace runs followed by a non-whitespace character. An unauthenticated remote attacker can supply a large response header from a controlled server or on-path position to block the client's event loop for minutes, provided the application uses forge.http with an application-supplied socket pool.