cve.bz

CVE-2026-111181 body-parser body-parser: Uncaught Exception

7.5 highEPSS 0.4%Fix available

High (7.5) in body-parser body-parser. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in body-parser 1.20.9, 2.4.0.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-248 Uncaught Exception
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-111181 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-111181?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-111181?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-111181 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
body-parserfrom 2.0.0 before 2.4.0
body-parserbefore 1.20.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-27r3-jxmh-p828npmbody-parser>=2.0.0 <2.4.02.4.0
GHSA-27r3-jxmh-p828npmbody-parser<1.20.91.20.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-body-parserno fix listedDEBIAN-CVE-2026-111181
Debian14node-body-parser2.4.0+~1.19.6-1DEBIAN-CVE-2026-111181
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morenode-body-parserno fix listedUBUNTU-CVE-2026-111181
Red Hathummingbird:1grafana12.40:12.4.13-0.4.hum1RHSA-2026:90388
Red Hathummingbird:1grafana12.40:12.4.13-0.5.hum1RHSA-2026:91292
Red Hathummingbird:1grafana13.10:13.1.8-0.5.hum1RHSA-2026:91181
Red Hathummingbird:1grafana13.20:13.2.4-0.4.hum1RHSA-2026:90990
openSUSETumbleweedagama-web-ui25+475.275dd4727-56.1openSUSE-SU-2026:12424-1
openSUSETumbleweedgit-bug0.11.0-4.1openSUSE-SU-2026:12429-1
Azure Linux3js-jqueryno fix listedAZL-110999
Azure Linux3python-tensorboardno fix listedAZL-111059

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity because an unauthenticated remote attacker can crash the entire application process, leading to a complete denial of service. Applications that rely on default body-parser configurations automatically decompress incoming request bodies before route matching and authentication are executed. As a result, any exposed endpoint accepting body data can be exploited without privileges, causing an uncaught stream exception that terminates the Node.js runtime.

ProductPackageStateAdvisory
Red Hat Hardened Imagesgrafana12-4-main-12.4.13-0.4.hum1Fixed 2026-10-26RHSA-2026:90388
Red Hat Hardened Imagesgrafana13-2-main-13.2.4-0.4.hum1Fixed 2026-10-27RHSA-2026:90990
Red Hat Hardened Imagesgrafana13-1-main-13.1.8-0.5.hum1Fixed 2026-10-27RHSA-2026:91181
Red Hat Hardened Imagesgrafana12-4-main-12.4.13-0.5.hum1Fixed 2026-10-27RHSA-2026:91292
Red Hat Hardened Imagesprometheus3.13Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-111181.

References

Check your stackJSON