Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Gunicorn ASGI Parser Resource Exhaustion (CVE-2026-134821)

CVE-2026-134821 is a resource exhaustion flaw in Gunicorn's pure-Python ASGI HTTP/1 parser.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-134821
Vendor
Gunicorn
Affected Product
Gunicorn
Exploitation
Not confirmed
Published
2026-11-22

The VulnCheck CNA published the record on 22 November 2026 and identifies Gunicorn 25.2.0 through versions before 27.0.0 as affected.The parser could buffer an unfinished protocol line without applying a size limit. An unauthenticated remote party could make a worker consume memory and CPU, causing denial of service. The CNA classifies the weakness as allocation of resources without limits or throttling (CWE-770).

What it allows

How Does CVE-2026-134821 Affect ASGI Workers?

The CNA identifies the pure-Python ASGI HTTP/1 parser as the vulnerable component. Before the fix, it could keep buffering an incomplete request line, header, chunk-size line or trailer. Without a size bound on that unfinished line, memory use could grow while parsing also consumed CPU.

An attacker does not need authentication to reach the described parser when the affected ASGI HTTP/1 service accepts remote requests. The result is a potential denial of service for the worker and the application it serves. This record does not describe data theft or code execution.

Gunicorn's 27.0.0 release notes say the usual request limits now apply before the line terminator arrives. They also say trailers count against limit_request_fields. CVE-2026-134820 is a separate HTTP request smuggling record involving malformed framing, not this resource exhaustion flaw.

During rollout, monitor worker memory, CPU, restarts and request error rates for abnormal changes. That monitoring is our defensive recommendation based on the CNA's stated availability impact. Track the affected service inventory through Vulnerability Intelligence and use the vulnerability prioritization glossary to order exposed services.

Who is affected

Which Gunicorn Versions Need the CVE-2026-134821 Fix?

The CNA marks Gunicorn 25.2.0 and later releases before 27.0.0 as affected. Its affected-product entry is limited to Gunicorn and names the pure-Python ASGI HTTP/1 parser in the description. The record does not establish that every Gunicorn worker type or HTTP protocol path has this flaw.

Inventory deployed Gunicorn versions and identify applications using the pure-Python ASGI HTTP/1 parser. Prioritize services that accept HTTP requests from untrusted networks. This deployment check is our defensive reading of the component and attack conditions in the CNA record.

Upgrade affected deployments to Gunicorn 27.0.0 or later, then verify the version actually running in each service. Recheck worker health and resource use after the rollout. The patch management glossary explains how to record that verification across deployments.

Timeline

  1. 2026-11-10

    Gunicorn released version 27.0.0. Its release notes say the ASGI parser now applies normal request limits before an unfinished line terminates.

  2. 2026-11-22

    The VulnCheck CNA published CVE-2026-134821 with the affected range and CVSS assessments.

What to do

  1. Identify affected services

    Find deployments running Gunicorn 25.2.0 through versions before 27.0.0. Determine which use the pure-Python ASGI HTTP/1 parser and accept remote requests.

  2. Upgrade the affected release

    Install Gunicorn 27.0.0 or later in those deployments. Coordinate a normal service restart or redeployment so the patched code is running.

  3. Verify the running version

    Check the version reported by each live application environment after rollout. Confirm worker health and review memory, CPU, restart and request error trends.

  4. Reduce exposure during rollout

    Prioritize internet-facing ASGI HTTP/1 services and apply existing request controls where available. This is a temporary defensive measure, not a substitute for the fixed version.

What Brandefense can do

Frequently Asked Questions

Does CVE-2026-134821 affect every Gunicorn worker?

The CNA names the pure-Python ASGI HTTP/1 parser. Check the parser used by each deployment before applying this finding to other worker types.

What is the fixed Gunicorn version?

The CNA's affected range ends before 27.0.0. Gunicorn's 27.0.0 release notes say request limits now apply before unfinished ASGI protocol lines terminate.

Is CVE-2026-134820 the same vulnerability?

No. The separate CNA record describes HTTP request smuggling through malformed framing. CVE-2026-134821 describes memory and CPU exhaustion from unbounded buffering.

Sources

  1. CVE-2026-134821 recordVulnCheck CNA via CVE Program
  2. Gunicorn 27.0.0 release notesGunicorn project
  3. CVE-2026-134820 recordVulnCheck CNA via CVE Program
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →