Home / body-parser / body-parser / CVE-2026-12590
CVE-2026-12590: is it exploited, and which versions of body-parser are affected and fixed?
CVE-2026-12590 is a denial of service (resources allocated without limits) vulnerability in body-parser. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: body-parser before 1.20.6 and body-parser from 2.0.0 before 2.3.0 (GitHub advisory GHSA-v422-hmwv-36x6). Fixed in 1.20.6 and 2.3.0 (GitHub advisory GHSA-v422-hmwv-36x6). Severity: Low (3.7, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-12590?
body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
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.
From the CVE record by openjs, last updated July 9, 2026, 12:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| body-parser | body-parser | before 1.20.6 from 2.0.0 before 2.3.0 | 1.20.6, 2.3.0 |
As the CVE record by openjs states it, last updated July 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | body-parser | < 1.20.6 | 1.20.6 | GHSA-v422-hmwv-36x6 |
| npm | body-parser | >= 2.0.0, < 2.3.0 | 2.3.0 | GHSA-v422-hmwv-36x6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 20, 2026. Summary: body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openjsf | body-parser | before 1.20.6 | application |
| openjsf | body-parser | from 2.0.0 before 2.3.0 | application |
NVD analysis (status Analyzed), last modified July 10, 2026, 02:45 UTC.
How severe is CVE-2026-12590?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | openjs |
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-12590 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 9, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 33.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/expressjs/body-parser/security/advisories/GHSA-v422-hmwv-36x6
- https://cna.openjsf.org/security-advisories.html
Who found and reported it?
- Phillip9587 (reporter)
- UlisesGascon (remediation reviewer)
- bjohansebas (analyst)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 18, 2026
- Published
- July 9, 2026, 10:21 UTC
- CVE record updated
- July 9, 2026, 12:06 UTC by openjs
- NVD
- Analyzed, last modified July 10, 2026, 02:45 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect body-parser?
- Oct 22, 2026CVE-2026-111181 body-parser: uncaught exception (crash)
- Nov 24, 2025CVE-2025-13466 body-parser: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-12590
Is CVE-2026-12590 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of body-parser are affected by CVE-2026-12590?
body-parser before 1.20.6 and body-parser from 2.0.0 before 2.3.0, per the GitHub advisory GHSA-v422-hmwv-36x6. The tables above give every range the sources list.
Which version fixes CVE-2026-12590?
1.20.6 and 2.3.0, per the GitHub advisory GHSA-v422-hmwv-36x6. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-12590?
Low (3.7, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-12590?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.