
CVE catalog
CVE-2026-12590
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 retu
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-body-parser | sid | 2.4.0+~1.19.6-1 | fixed |
| Debian | node-body-parser | forky | 2.4.0+~1.19.6-1 | fixed |
| Debian | node-body-parser | trixie | 1.20.3+~1.19.5-3 | vulnerable |
| Debian | node-body-parser | bookworm | 1.20.1+~1.19.2-1 | vulnerable |
| Cpe | body-parser | Not reported | 1.20.6 | fixed |
| Cpe | body-parser | Not reported | 2.3.0 | fixed |
| Npm | body-parser | Not reported | 2.3.0 | fixed |
| Npm | body-parser | Not reported | 2.3.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-body-parser | source | sid | 2.3.0+~1.19.6-1 | not yet assigned | Not reported | [1143074] |
| Debian | node-body-parser | source | forky | 2.3.0+~1.19.6-1 | not yet assigned | Not reported | [1143074] |
| Debian | node-body-parser | source | trixie | (unfixed) | not yet assigned | Not reported | [1143074] |
| Debian | node-body-parser | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143074] |
| Cpe | body-parser | cpe | Not reported | 1.20.6 | Not reported | Not reported | Not reported |
| Cpe | body-parser | cpe | Not reported | 2.3.0 | Not reported | Not reported | Not reported |
| Npm | body-parser | npm | Not reported | 2.3.0 | Not reported | GHSA-V422-HMWV-36X6 | Not reported |
| Npm | body-parser | npm | Not reported | 2.3.0 | Not reported | Not reported | Not reported |
Notes
[trixie] node-body-parser: Minor issue [bookworm] node-body-parser: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-body-parser]Affected
Details (2)
1.20.1+~1.19.2-1· all · bookwormAffected
nvd · node-body-parser · debian · bookworm; nvd · node-body-parser · debian · 12
1.20.1+~1.19.2-1· all · bookwormAffected
nvd · node-body-parser · debian · bookworm; nvd · node-body-parser · debian · 12
[Debian 13 (Trixie)]
- [node-body-parser]Affected
Details (2)
1.20.3+~1.19.5-3· all · trixieAffected
nvd · node-body-parser · debian · 13
1.20.3+~1.19.5-3· all · trixieAffected
nvd · node-body-parser · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-12590]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-12590]
- [https://osv.dev/vulnerability/GHSA-v422-hmwv-36x6]
- [https://security-tracker.debian.org/tracker/CVE-2026-12590]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12590.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3403.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]