CVE-2026-111181
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 openjsCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:53.216Z | CVE Program |
| epss | verified | 2026-11-19T16:04:44.258Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.847Z | OSV |
| affected | verified | 2026-11-19T12:57:53.216Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:53.216Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | body-parser | Not a distribution channel | 2.4.0 | Official record |
| ecosystem-boundary | npm / package | body-parser | Not a distribution channel | 1.20.9 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:30.847ZArchived source JSON
Source publication: 2026-10-23T20:53:11.000Z
Source modification: 2026-10-23T21:00:06.131ZDocument fingerprint
bdd1d5ee49406f535f40d01684fc5d26b9d98bcdbdd625e3015ef43e8f9b4ae2 - CVE ProgramConsulted: 2026-11-19T12:57:53.216ZArchived source JSON
Source publication: 2026-10-22T14:29:56.577Z
Source modification: 2026-10-22T19:00:31.729ZDocument fingerprint
afebdfc172351d0b1dce514690672435b892dfa051f5f2b32d0d611b9ebdb87b - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:44.258ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
d5e727fd451dbf6b50ade5c4c96ba4be29cc40c72ac399bab5d430ee68f2166c
Official status history
- UNKNOWN → PUBLISHED · · evidence