AploSec / Disclosures / CVE-2026-134821
Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 Parser
CVE-2026-134821 · published 2026-11-22
In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.
Summary
CVE-2026-134821 affects gunicorn (PyPI) >= 25.2.0, < 27.0.0: Memory Exhaustion via ASGI HTTP/1 Parser (CWE-770). Fixed in 27.0.0. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade gunicorn to 27.0.0 or later. Releases in the affected range (>= 25.2.0, < 27.0.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-22 CVE published
References
- Releasehttps://github.com/benoitc/gunicorn/releases/tag/27.0.0
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/gunicorn-25.2.0-before-27.0.0-memory-exhaustion-via-asgi-http-1-parser
- Fix pull requesthttps://github.com/benoitc/gunicorn/pull/3789
- Fix commithttps://github.com/benoitc/gunicorn/commit/3007d5240e55190f85fff7180168d5aaa8377f30
- Vulnerable codehttps://github.com/benoitc/gunicorn/blob/26.2.2/gunicorn/asgi/parser.py#L744-L748
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134821
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134821
- Severity
- High 8.7CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- gunicorn
- Ecosystem
- PyPI
- Affected
- >= 25.2.0, < 27.0.0
- Fixed
- 27.0.0
- Weakness
- CWE-770
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder