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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-12590— body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement

Quick assessment

Affected
body-parser body-parser
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.

expressjs body-parser是expressjs组织开源的一个 Node.js 解析中间件。 expressjs body-parse存在资源管理错误漏洞,该漏洞源于当解析器配置无效limit选项值(如无法解析的字符串或NaN)时,bytes.parse返回null且请求体大小检查被静默跳过,导致依赖limit作为主要防护的应用程序接受任意大payload,造成过度内存和CPU消耗,进而导致拒绝服务。

CVSS 3.7 · Low EPSS 0.41% · P35

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 4

VendorProduct Version RangeStatus
body-parser body-parser < 1.20.6 affected
1.20.6 unaffected
2.0.0< 2.3.0 affected
2.3.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-12590

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
body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
Source: CVE Program / CVE List V5
Vulnerability Description
Impact: In body-parser versions prior to 1.20.6 (1.x line) and 2.3.0 (2.x line), when the parser is configured with an invalid limit option value such as an unparseable string or NaN, bytes.parse returns null and the request body size check is silently skipped. Applications that rely on limit as their primary safeguard against oversized request bodies will accept arbitrarily large payloads, leading to excessive memory and CPU usage and denial of service. Patches: This issue is fixed in body-parser 1.20.6 and 2.3.0. After the fix, invalid limit values throw a clear error at parser construction time instead of silently disabling enforcement, while null and undefined continue to fall back to the default limit of 100kb. Workarounds: Validate the limit value before passing it to body-parser. For example, parse the value at startup and reject any configuration where the result is null or a non-finite number.
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:L
Source: CVE Program / CVE List V5
Vulnerability Type
不加限制或调节的资源分配
Source: CVE Program / CVE List V5
Vulnerability Title
expressjs body-parser 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
expressjs body-parser是expressjs组织开源的一个 Node.js 解析中间件。 expressjs body-parse存在资源管理错误漏洞,该漏洞源于当解析器配置无效limit选项值(如无法解析的字符串或NaN)时,bytes.parse返回null且请求体大小检查被静默跳过,导致依赖limit作为主要防护的应用程序接受任意大payload,造成过度内存和CPU消耗,进而导致拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
body-parser body-parser 0 ~ 1.20.6 -

II. Public POCs for CVE-2026-12590

# 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-12590

登录查看更多情报信息。

Vendor Advisories for CVE-2026-12590 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-12590

No comments yet


Leave a comment