CVE-2026-134821
Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 Parser
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 0.79% (p53)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-23
- Product
- Gunicorn Gunicorn
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
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.
Fixed in
27.0.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Gunicorn | >=25.2.0, <27.0.0 | 27.0.0 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 6d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/benoitc/gunicorn/pull/3789 issue-tracking
- https://github.com/benoitc/gunicorn/commit/3007d5240e55190f85fff7180168d5aaa8377f30 patch
- https://github.com/benoitc/gunicorn/releases/tag/27.0.0 release-notes
- https://github.com/benoitc/gunicorn/blob/26.2.2/gunicorn/asgi/parser.py#L744-L748 technical-description
- https://www.vulncheck.com/advisories/gunicorn-25.2.0-before-27.0.0-memory-exhaustion-via-asgi-http-1-parser third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134821.json advisory
- https://github.com/benoitc/gunicorn package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134821 advisory