CVE-2026-125333

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*

History

16 Nov 2026, 15:46

Type Values Removed Values Added
First Time Digitalbazaar
Digitalbazaar forge
CPE cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*
References () https://github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd - () https://github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd - Patch
References () https://github.com/digitalbazaar/forge/pull/1169 - () https://github.com/digitalbazaar/forge/pull/1169 - Patch
References () https://github.com/digitalbazaar/forge/releases/tag/v1.4.3 - () https://github.com/digitalbazaar/forge/releases/tag/v1.4.3 - Release Notes
References () https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25 - () https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25 - Exploit, Mitigation, Vendor Advisory

10 Nov 2026, 21:19

Type Values Removed Values Added
References () https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25 - () https://github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25 -

10 Nov 2026, 19:21

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-10 19:21

Updated : 2026-11-16 15:46


NVD link : CVE-2026-125333

Mitre link : CVE-2026-125333

CVE.ORG link : CVE-2026-125333


JSON object : View

Products Affected

digitalbazaar

  • forge
CWE
CWE-1333

Inefficient Regular Expression Complexity