CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-111181

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body

body-parser is body parsing middleware for Node.js and Express. In versions before 1.20.9 and in versions from 2.0.0 before 2.4.0, a single request can crash any application using body-parser with default options. When a request carries a Content-Encoding such as gzip, body-parser pipes it into a decompression stream and, after reading the body, leaves that stream with no error listener. A payload of one valid compressed frame followed by trailing bytes decodes and the application responds normally, but the trailing bytes then reach the already-finished decoder, which emits an error that is re-thrown as an uncaught exception and terminates the process. No matching route is required because body parsing runs before routing, so any endpoint that parses a body is affected. The issue is fixed in body-parser 2.4.0 and 1.20.9, and users should upgrade to one of those versions or later. As a workaround, disable request-body inflation (set the body-parser inflate option to false) so encoded requests are rejected before any decompression stream is created.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.388% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 7.5 · published by openjs
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:57:53.216Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:57:53.216ZCVE Program
epssverified2026-11-19T16:04:44.258ZFIRST EPSS
patchesverified2026-11-19T12:52:30.847ZOSV
affectedverified2026-11-19T12:57:53.216ZCVE Program
lifecycleverified2026-11-19T12:57:53.216ZCVE Program

Affected versions and configuration

body-parser body-parser; default status: unaffected: 2.0.0 to < 2.4.0 [affected; scheme: semver]; 2.4.0 [unaffected; scheme: semver]; 0 to < 1.20.9 [affected; scheme: semver]; 1.20.9 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "body-parser",
      "product": "body-parser",
      "versions": [
        {
          "status": "affected",
          "version": "2.0.0",
          "lessThan": "2.4.0",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "2.4.0",
          "versionType": "semver"
        },
        {
          "status": "affected",
          "version": "0",
          "lessThan": "1.20.9",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "1.20.9",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:npm/body-parser",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-111181",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-10-22T18:26:41.855566Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-10-22T19:00:31.729Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-27r3-jxmh-p828",
  "aliases": [
    "CVE-2026-111181"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "2.4.0"
            }
          ]
        }
      ],
      "package": {
        "name": "body-parser",
        "purl": "pkg:npm/body-parser",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-27r3-jxmh-p828/GHSA-27r3-jxmh-p828.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.9"
            }
          ]
        }
      ],
      "package": {
        "name": "body-parser",
        "purl": "pkg:npm/body-parser",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-27r3-jxmh-p828/GHSA-27r3-jxmh-p828.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/expressjs/body-parser/security/advisories/GHSA-27r3-jxmh-p828",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111181",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/expressjs/body-parser/commit/1260c3845f54502a05a87594f09a334786bb34d7",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser/commit/f7075eae3a84c3473ab4bf0a777da28db208e916",
      "type": "WEB"
    },
    {
      "url": "https://cna.openjsf.org/security-advisories.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/expressjs/body-parser/releases/tag/1.20.9",
      "type": "WEB"
    },
    {
      "url": "https://github.com/expressjs/body-parser/releases/tag/v2.4.0",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-248"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-10-22T15:17:04Z",
    "github_reviewed_at": "2026-10-23T20:53:11Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagebody-parserNot a distribution channel2.4.0Official record
ecosystem-boundarynpm / packagebody-parserNot a distribution channel1.20.9Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history