p PatchFirst

CVE-2025-13466

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • body-parser

    Versions
    • 2.2.0: Affected (semver)

    No fix published

  • node-body-parser Debian:14

    Versions
    • 1.20.3+~1.19.5-3
    • 2.2.0+~1.19.6-1
    • 2.2.0+~1.19.6-2
    • 2.2.0+~1.19.6-3
    Affected ranges
    • ECOSYSTEM: < 2.2.1+~1.19.6-1

    Update to 2.2.1+~1.19.6-1

  • body-parser npm

    Affected ranges
    • SEMVER: ≥ 2.2.0, < 2.2.1

    Update to 2.2.1

  • node-body-parser Ubuntu:16.04:LTS

    Versions
    • 1.8.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:18.04:LTS

    Versions
    • 1.8.1-1
    • 1.8.1-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:20.04:LTS

    Versions
    • 1.18.3-2
    • 1.19.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:22.04:LTS

    Versions
    • 1.19.0-2
    • 1.19.0-5
    • 1.19.1+~1.19.2-1
    • 1.19.2+~1.19.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:24.04:LTS

    Versions
    • 1.20.1+~1.19.2-1
    • 1.20.2+~1.19.5-1
    • 1.20.2+~1.19.5-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:25.10

    Versions
    • 1.20.3+~1.19.5-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:26.10

    Versions
    • 2.2.2+~1.19.6-1
    • 2.3.0+~1.19.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-body-parser Ubuntu:26.04:LTS

    Versions
    • 1.20.3+~1.19.5-3
    • 2.2.0+~1.19.6-1
    • 2.2.2+~1.19.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →