Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 Parser
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| Gunicorn Gunicorn | 25.2.0 to before 27.0.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- https://github.com/benoitc/gunicorn/pull/3789Issue TrackerPatch
- https://github.com/benoitc/gunicorn/commit/3007d5240e55190f85fff7180168d5aaa8377f30Patch
- Gunicorn 27.0.0 Release NotesRelease Notes
- https://github.com/benoitc/gunicorn/blob/26.2.2/gunicorn/asgi/parser.py#L744-L748Technical Details
- VulnCheck Advisory: Gunicorn 25.2.0 before 27.0.0 Memory Exhaustion via ASGI HTTP/1 ParserThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.