Skip to content
Heist/ feed
Back to feed
Medium

node-body-parser — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-13466

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.

Products
node-body-parser
Affected versions
1.18.3-2, 1.19.0-2, 1.19.0-5, 1.19.1+~1.19.2-1, 1.19.2+~1.19.2-1, 1.20.1+~1.19.2-1, 1.20.2+~1.19.5-1, 1.20.2+~1.19.5-1build2, 1.20.3+~1.19.5-3, 1.8.1-1, 1.8.1-1ubuntu1, 2.2.0+~1.19.6-1, 2.2.2+~1.19.6-1, 2.3.0+~1.19.6-1
Fixed versions
Not specified
CVEs
CVE-2025-13466
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:25 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-13466

core-osv · Original source

Published 24 Nov 2025, 19:15 UTC

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.

osv:UBUNTU-CVE-2025-13466

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

node-body-parser

Fixed versions: Not specified

Complete source record
{
  "id": "0fe6974cebd8ac9cf8e47b260cc681603a4165662b2aaa80c42db2c48757a043",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-13466",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-13466",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2025-13466",
    "products": [
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.1-1ubuntu1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.18.3-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.0-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.19.0-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.0-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.1+~1.19.2-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.19.2+~1.19.2-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.20.1+~1.19.2-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.20.2+~1.19.5-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.20.2+~1.19.5-1build2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.20.3+~1.19.5-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.2.2+~1.19.6-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.3.0+~1.19.6-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-body-parser",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.20.3+~1.19.5-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.2.0+~1.19.6-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.2.2+~1.19.6-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-13466",
      "aliases": [
        "UBUNTU-CVE-2025-13466"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.8.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "1.8.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.8.1-1",
            "1.8.1-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "1.8.1-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.18.3-2",
            "1.19.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "1.19.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=jammy",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "1.19.2+~1.19.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=noble",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "1.20.2+~1.19.5-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.20.3+~1.19.5-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "1.20.3+~1.19.5-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.2.2+~1.19.6-1",
            "2.3.0+~1.19.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "2.3.0+~1.19.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-body-parser",
            "purl": "pkg:deb/ubuntu/node-body-parser?arch=source&distro=resolute",
            "ecosystem": "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13466.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-body-parser",
                "binary_version": "2.2.2+~1.19.6-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:48.185728471Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-13466"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-13466",
        "https://www.cve.org/CVERecord?id=CVE-2025-13466",
        "https://github.com/expressjs/body-parser/security/advisories/GHSA-wqch-xfxh-vrr4"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-13466",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356321,
  "published_at": "2025-11-24T19:15:00+00:00"
}