Skip to content
OpenAdvisories
Medium · 5.5 CVE-2025-13466 EUVD-2025-198982GHSA-wqch-xfxh-vrr4

body-parser vulnerable to denial of service when url encoding is used

Published Nov 24, 2025 · Updated Nov 24, 2025 · Assigned by openjs

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 node-body-parser 2.2.1+~1.19.6-1 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
npm body-parser >= 2.2.0, < 2.2.1 2.2.1 GHSA-wqch-xfxh-vrr4

Advisories 2

References