Description
body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic.
This issue is addressed in version 2.2.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| body-parser | body-parser | 2.2.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-body-parser | 2.2.1+~1.19.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-body-parser | No fix yet | — |
| Ubuntu 26.04 LTS | node-body-parser | No fix yet | — |
| Ubuntu 25.10 | node-body-parser | No fix yet | — |
| Ubuntu 24.04 LTS | node-body-parser | No fix yet | — |
| Ubuntu 22.04 LTS | node-body-parser | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-body-parser | No fix yet | — |
| Ubuntu 18.04 LTS | node-body-parser | No fix yet | — |
| Ubuntu 16.04 LTS | node-body-parser | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server +1 | 4.106.2-r1 | — |
| Wolfi rolling | saf | 1.5.2-r0 | — |
| Wolfi rolling | tileserver-gl +1 | 5.4.0-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | body-parser | >= 2.2.0, < 2.2.1 | 2.2.1 | GHSA-wqch-xfxh-vrr4 |
Advisories 2
- WID-SEC-2025-2909 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 7, 2026
- WID-SEC-2026-0924 IBM DataPower Gateway: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 1, 2026