CVE-2026-134821: Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 Parser
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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Gunicorn versions from 25.2.0 up to, but not including, 27.0.0 are affected when they use the pure-Python ASGI HTTP/1 parser.
Does exploitation require authentication or user interaction?
No. An unauthenticated remote attacker can trigger the issue without user interaction or prior privileges.
What malformed traffic triggers the resource exhaustion?
An attacker can send request lines, headers, chunk-size lines, or trailers that lack a terminating CRLF. The parser buffers these protocol lines without size limits, growing worker memory and consuming CPU.
What is the available remediation?
Upgrade Gunicorn to version 27.0.0 or later.