Advisory record · GHSA-27r3-jxmh-p828

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

CVSS 7.5 HighEPSS 0.0039 · 33rd percentile

Published by the GitHub Advisory Database at 23 Oct 2026, 20:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
body-parsernpm>=2.0.0, <2.4.0 || <1.20.92.4.0, 1.20.9
Identifiers
GHSA-27r3-jxmh-p828 · CVE-2026-111181
Weakness (CWE)
CWE-248
Published
23 Oct 2026
Updated
23 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The npm package body-parser, in versions before 1.20.9 and from 2.0.0 before 2.4.0, can crash a process when a request has a Content-Encoding such as gzip and its body is one valid compressed frame followed by trailing bytes. No authentication or matching route is needed, since parsing happens before routing, so a single request can terminate an application using default options. Upgrade to body-parser 1.20.9 or 2.4.0. As a workaround, set inflate to false if compressed request bodies are not needed.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (openjs)
  • CISA KEV Not listed.
  • EPSS 0.0039, the 33rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.