high8.7
CVE-2026-134821
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.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.
Affected products (Gunicorn)
| Product | Affected versions |
|---|---|
| Gunicorn | from 25.2.0 before 27.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/benoitc/gunicorn/pull/3789
- https://github.com/benoitc/gunicorn/commit/3007d5240e55190f85fff7180168d5aaa8377f30
- https://github.com/benoitc/gunicorn/releases/tag/27.0.0
- https://github.com/benoitc/gunicorn/blob/26.2.2/gunicorn/asgi/parser.py#L744-L748
- https://www.vulncheck.com/advisories/gunicorn-25.2.0-before-27.0.0-memory-exhaustion-via-asgi-http-1-parser
- https://github.com/advisories/GHSA-m589-rp9j-v484
- https://nvd.nist.gov/vuln/detail/CVE-2026-134821