Vulnerability · Published Nov 24, 2025 · Assigned by openjs

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

Medium 5.5

In plain English

A medium-severity uncontrolled resource consumption in body-parser from body-parser. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.5Medium
Exploit odds (30 days)0.4%top 66.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14node-body-parser2.2.1+~1.19.6-1DEBIAN-CVE-2025-13466
Ubuntu:22.04:LTSnode-body-parserno fix listedUBUNTU-CVE-2025-13466
Ubuntu:24.04:LTSnode-body-parserno fix listedUBUNTU-CVE-2025-13466
Ubuntu:25.10node-body-parserno fix listedUBUNTU-CVE-2025-13466
Ubuntu:26.04:LTSnode-body-parserno fix listedUBUNTU-CVE-2025-13466
Ubuntu:26.10node-body-parserno fix listedUBUNTU-CVE-2025-13466
npmbody-parser2.2.1GHSA-wqch-xfxh-vrr4

Affected products (as reported)

VendorProductVersions
body-parser body-parser 2.2.0

Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:P/AU:Y

References