Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-125333— Forge: ReDoS in forge.http response header and cookie trimming

Quick assessment

Affected
digitalbazaar forge
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Forge(也称为 node-forge)是用 JavaScript 原生实现传输层安全(TLS)的库。在 0.1.2 至 1.4.3 版本中,forge.http 模块在 lib/http.js 里使用 _trimString() 函数,通过正则表达式移除响应头值及 Cookie 名称和值末尾的空白字符。该正则表达式存在二次时间复杂度(O(n²))的性能问题。恶意服务器或路径攻击者可在响应头中构造一个极长的空白字符序列后紧跟一个非空白字符,导致 response.readHeader() 或 response.g

CVSS 5.9 · Medium

Possible ATT&CK Techniques 1 AI

T1499.003 · Application Exhaustion Flood

Affected Version Matrix 1

VendorProduct Version RangeStatus
digitalbazaar forge >= 0.1.2, < 1.4.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-125333

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Forge: ReDoS in forge.http response header and cookie trimming
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
digitalbazaar forge >= 0.1.2, < 1.4.3 -

II. Public POCs for CVE-2026-125333

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-125333

请登录查看更多情报信息。

Other References for CVE-2026-125333 (4)

Same Patch Batch · digitalbazaar · 2026-11-10 · 5 CVEs total

CVE-2026-125336 7.4 HIGH Forge: X.509 nameConstraints not enforced by verifyCertificateChain()
CVE-2026-125332 5.9 MEDIUM Forge: TLS client crash on an unsupported ServerHello compression method
CVE-2026-125334 5.9 MEDIUM Forge: TLS client crash on a handshake record received without a session
CVE-2026-125335 3.7 LOW Forge: Ed25519 signature verification accepts small-order public keys

IV. Related Vulnerabilities