Gunicorn 25.2.0 before 27.0.0 contains a memory exhaustion vulnerability in the pure-Python ASGI HTTP/1 parser that
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 27.0.0 soon.
Data as of 23 Nov 2026, 01:09 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 27.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade Gunicorn to 27.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GunicornGunicorn | Affected
| Fixed in
|
PyPIGunicornpkg:pypi/GunicornOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider limiting request sizes or deploying upstream protections to mitigate malformed HTTP requests targeting the ASGI HTTP/1 parser.
Description
Gunicorn versions from 25.2.0 up to but not including 27.0.0 have a memory exhaustion vulnerability in the pure-Python ASGI HTTP/1 parser. This parser buffers protocol lines without enforcing size limits, allowing unauthenticated remote attackers to send malformed request lines, headers, or chunked transfer encoding lines lacking CRLF sequences. This can cause excessive memory and CPU consumption, resulting in denial of service.
References
- nvd.nist.gov/vuln/detail/CVE-2026-134821 (opens in a new tab)
- github.com/benoitc/gunicorn/pull/3789 (opens in a new tab)
- github.com/benoitc/gunicorn/commit/3007d5240e55190f85fff7180168d5aaa8377f30 (opens in a new tab)
- github.com/benoitc/gunicorn/blob/26.2.2/gunicorn/asgi/parser.py (opens in a new tab)
- github.com/benoitc/gunicorn/releases/tag/27.0.0 (opens in a new tab)
- vulncheck.com/advisories/gunicorn-25.2.0-before-27.0.0-memory-exhaustion-via-asgi-http-1-parser (opens in a new tab)