CVE-2026-12590: body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
Vulnerability summary
CVE-2026-12590 is a medium (CVSS 5.9) vulnerability in body-parser. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 33.6% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 09-07-2026PublishedVulnerability first disclosed.
- 09-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · NpmEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard70 products
- arangodb-3.11< 3.11.14.5-r11
- arangodb-3.12< 3.12.11-r0
- argo-workflows-ui-3.6< 3.6.19-r8
- argo-workflows-ui-3.7< 3.7.17-r0
- argo-workflows-ui-4.0< 4.0.8-r0 | < 4.0.11-r0
Wolfi13 products
- argo-workflows-ui-3.7< 3.7.17-r0
- argo-workflows-ui-4.0< 4.0.8-r0 | < 4.0.11-r0
- code-server< 4.130.0-r4
- json-server< 0.17.4-r10
- jupyter-base-notebook< 7.6.3-r2
Body-parser1 product
- body-parser< 1.20.6 | ≥ 2.0.0, < 2.3.0
Debian1 product
- node-body-parserAll versions (No fix recorded) | < 2.3.0+~1.19.6-1
Npm1 product
- body-parser< 1.20.6 | ≥ 2.0.0, < 2.3.0
Openjsf1 product
- body-parser< 1.20.6 | ≥ 2.0.0, < 2.3.0
Ubuntu1 product
- node-body-parserAll versions (No fix recorded)
7 vendors · 88 products
References
14 links- github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6REPORTAdvisoryWEBMitigationPatchVendor Advisory