CVE-2026-134821 Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 Parser

Published Updated

Unauthenticated remote attackers can exhaust Gunicorn worker memory with malformed ASGI HTTP/1 requests, causing denial of service.

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
27.0.0
Attack path
Over the internet
No login, no user action

What is CVE-2026-134821?

CVE-2026-134821 is a high-severity denial of service vulnerability in Gunicorn, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gunicorn 25.2.0 before 27.0.0 contains a memory exhaustion vulnerability in the pure-Python ASGI HTTP/1 parser that buffers protocol lines without size limits. Unauthenticated remote attackers can send request lines, headers, chunk-size lines or trailers lacking CRLF to grow worker memory and consume CPU, causing denial of service.

Weakness: CWE-770

How severe is CVE-2026-134821?

CVE-2026-134821 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134821?

1 open source package ship an affected version, including gunicorn.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
gunicorn PyPI
pkg:pypi/gunicorn
From 25.2.027.0.0
Linux distribution packages 1
python-gunicorn openSUSE:Tumbleweed
pkg:rpm/opensuse/python-gunicorn
All versions27.0.1-1.1
Status by vendor 1
WhoReleaseStatusPackages
openSUSETumbleweedfixedpython-gunicorn (27.0.1-1.1)
pkg:rpm/opensuse/python-gunicorn

How do I fix CVE-2026-134821?

Upgrade gunicorn to 27.0.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-134821 being exploited?

There is no known exploitation of CVE-2026-134821 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-134821, GHSA-m589-rp9j-v484, UBUNTU-CVE-2026-134821, openSUSE-SU-2026:12686-1.

Is CVE-2026-134821 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free