# One gzipped POST crashes Express via body-parser before routing (CVE-2026-111181)

> One gzipped POST crashes Express via body-parser before routing (CVE-2026-111181), also tracked as CVE-2026-111181 / GHSA-27r3-jxmh-p828 / body-parser compressed body DoS is a high-severity threat campaign HOL Guard tracked from Oct 22, 2026 to Oct 22, 2026, verified against 6 primary sources and last reviewed Oct 22, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

Canonical: https://hol.org/guard/security/campaigns/cve-2026-111181-body-parser-compressed-body-dos
Last reviewed: Oct 22, 2026
Tracking status: historical / inactive

## Key facts

- Severity: high
- Confidence: high
- First observed: Oct 22, 2026
- Last observed: Oct 22, 2026
- Primary sources: 6
- Reviewed artifacts: 2

## What happened

CVE-2026-111181 / GHSA-27r3-jxmh-p828 is a high-severity denial of service in the npm package body-parser. When a request carries Content-Encoding (gzip, deflate, or on 2.x Brotli), body-parser pipes the body into a decompression stream and, after reading the body, leaves that stream piped 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 Node raises as an uncaught exception, terminating the process. Parsing runs before routing, so no authentication and no matching route are required. Fixed in body-parser 1.20.9 and 2.4.0. Express 4.22.3 declares body-parser ~1.20.5 and Express 5.3.0 declares ^2.3.0, so updating express alone does not pull the patched versions when the lockfile is pinned. Workaround: pass inflate: false to reject encoded bodies before a decoder is created. Same-day sibling multer CVE-2026-113872 (GHSA-q7qp-rjg7-q26m) is a separate DoS for asynchronous fileFilter, fixed in multer 2.5.0.

## Evidence limits

No in-the-wild exploitation reported and not in CISA KEV as of 2026-10-22. CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) comes from the GHSA; NVD analysis may lag. Express has not yet shipped a release that bumps the body-parser dependency range.

- Not remote code execution and not a confidentiality/integrity issue; impact is availability (process crash).
- Apps that already pass inflate: false are not exposed.
- Stacks that never mount body-parser (Fastify, Koa, Hono, raw http) are out of scope for this CVE.
- multer CVE-2026-113872 is a sibling package; a body-parser bump does not fix uploads.

## Timeline

- Oct 22, 2026 — disclosure: Express publishes GHSA-27r3-jxmh-p828 / CVE-2026-111181 for body-parser compressed-body trailing-bytes DoS; patches 1.20.9 and 2.4.0 on npm.
- Oct 22, 2026 — disclosure: Same-day multer GHSA-q7qp-rjg7-q26m / CVE-2026-113872 async fileFilter DoS fixed in 2.5.0.
- Oct 22, 2026 — other: HOL Guard publishes operator write-up and security campaign for CVE-2026-111181.

## Reviewed artifacts

- body-parser@<1.20.9 || >=2.0.0 <2.4.0 (npm)
- multer@>=2.0.0 <2.5.0 (sibling CVE-2026-113872) (npm)

## Sources

- [GHSA-27r3-jxmh-p828: body-parser trailing bytes after compressed body](https://github.com/expressjs/body-parser/security/advisories/GHSA-27r3-jxmh-p828) — maintainer advisory, observed Oct 22, 2026
- [body-parser 2.4.0 release notes](https://github.com/expressjs/body-parser/releases/tag/v2.4.0) — maintainer advisory, observed Oct 22, 2026
- [body-parser 1.20.9 release notes](https://github.com/expressjs/body-parser/releases/tag/1.20.9) — maintainer advisory, observed Oct 22, 2026
- [GHSA-q7qp-rjg7-q26m: multer async fileFilter DoS (CVE-2026-113872)](https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m) — maintainer advisory, observed Oct 22, 2026
- [CVE-2026-111181 record](https://www.cve.org/CVERecord?id=CVE-2026-111181) — vulnerability database, observed Oct 22, 2026
- [HOL blog: body-parser CVE-2026-111181 operator write-up](https://hol.org/blog/cve-2026-111181-body-parser-compressed-body-dos) — other primary, observed Oct 22, 2026

## Machine-readable exports

- [JSON record](https://hol.org/guard/security/campaigns/cve-2026-111181-body-parser-compressed-body-dos/data.json)
- [Artifact CSV](https://hol.org/guard/security/campaigns/cve-2026-111181-body-parser-compressed-body-dos/artifacts.csv)
- [STIX 2.1 bundle](https://hol.org/guard/security/campaigns/cve-2026-111181-body-parser-compressed-body-dos/stix.json)
- [Markdown record](https://hol.org/guard/security/campaigns/cve-2026-111181-body-parser-compressed-body-dos/index.md)

Corrections: https://hol.org/guard/security/campaigns/cve-2026-111181-body-parser-compressed-body-dos/corrections
