Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Gunicorn ASGI worker over network
-
DeliverySend protocol line lacking CRLF terminator
-
ExploitParser buffers bytes without size limit
-
ExecutionWorker memory and CPU exhausted
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires Gunicorn 25.2.0 through 26.2.2 configured to serve an ASGI application through the pure-Python ASGI HTTP/1 parser; WSGI and HTTP/2 paths and the C parser already enforced fallback line bounds and are not affected. The attacker needs only network reachability to the worker and no authentication (PR:N) or user interaction (UI:N), sending request lines, headers, chunk-size lines, or trailers that omit the CRLF terminator. LIMITING FACTORS: the deployment must actually use the ASGI worker mode (not the default WSGI path), and a fronting proxy that enforces its own request-line and header size limits or rejects malformed/unterminated lines would blunt the attack before it reaches the worker. |
| Impact | Signals are largely consistent and point to a genuine but bounded availability risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, unauthenticated, low-complexity attack with no user interaction, and impact is confined to availability (VA:H; VC/VI = N) - this is a pure denial-of-service issue, not a code-execution or data-exposure flaw, so the 8.7 score reflects easy reachability rather than severe impact. The patch diff (PR #3789) confirms the mechanism: the pure-Python ASGI HTTP/1 parser called buffer.find(b'\r\n') with no size bound, so an unterminated line grows worker memory and CPU indefinitely until bounds are applied. No EPSS score, no CISA KEV listing, and no public exploit are present in the input, so there is no evidence of active exploitation; the vuln.today 'this_week' decision label signals prompt but non-emergency remediation. A key scoping caveat: the flaw is specific to the ASGI worker path - the WSGI and C parsers already enforced fallback bounds - so real-world exposure is limited to deployments actually serving an ASGI app through Gunicorn, which should be factored in beyond the raw CVSS number. |
| Exploit ScenarioDerived | An unauthenticated remote attacker opens a connection to a Gunicorn worker serving an ASGI application over HTTP/1 and sends a request line, header, chunk-size line, or trailer that never includes a CRLF terminator. The pure-Python ASGI parser buffers the incoming bytes without any size limit, growing worker memory and consuming CPU until the worker is exhausted, denying service to legitimate clients. No public exploit code is identified; the mechanism is confirmed by the vendor patch diff but no weaponized PoC is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Gunicorn 25.2.0 through 26.2.2 can be driven into memory exhaustion by unauthenticated remote attackers when the server is running an ASGI application on the pure-Python HTTP/1 parser. Sending a request line, header, chunk-size line, or trailer that never terminates with CRLF causes the worker to keep buffering the line indefinitely while burning CPU, degrading or exhausting that worker and denying service. Exploitation is confirmed to require ASGI worker mode rather than the default WSGI path, and WSGI, HTTP/2, and the C parser already enforced fallback line bounds and are not affected; no public exploit code was identified at time of analysis, though a vendor fix is available and prioritization guidance places remediation in the current week.
RemediationAI
Vendor-released patch: upgrade to Gunicorn 27.0.0, the release that incorporates the fix from pull request https://github.com/benoitc/gunicorn/pull/3789 and commit 3007d5240e55190f85fff7180168d5aaa8377f30, which bound request-line, header, chunk-size, and trailer buffering and count trailers against limit_request_fields. Because the vendor fix is a single tagged release covering the whole 25.2.0-to-26.x range, plan the upgrade this week per the current priority label rather than waiting on a maintenance window. If the upgrade cannot be applied immediately, the practical compensating control is to place a reverse proxy or load balancer in front of the ASGI workers that enforces its own request-line and header size limits, rejects malformed or unterminated lines, and caps trailer counts; the trade-off is that proxy limits must be tuned below Gunicorn's own settings or legitimate large-header clients will be rejected before the application sees them, and misconfigured proxies can silently truncate valid requests. Restricting network reachability to the workers so only the proxy can connect also sharply reduces exposure but does not help deployments where clients reach workers directly. Switching the affected service off the pure-Python ASGI HTTP/1 parser, for example by serving the application through the WSGI path or the C parser which already enforced fallback bounds, removes the vector but may not be feasible for applications that depend on ASGI semantics. No fix version other than 27.0.0 is identified in the available data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a resource-allocation-without-limits weakness (CWE-770) in Gunicorn's pure-Python ASGI HTTP/1 protocol implementation, specifically gunicorn/asgi/parser.py. The parser searched for the CRLF terminator before applying the configured request-line and field-size limits, so a line that never ended was accumulated in the internal buffer without bound; the same pattern applied to the request line, header fields, chunk-size lines, and chunked-body trailers. The upstream fix introduces a bounded line search that refuses to grow the buffer past the applicable limit: when limit_request_line is 0 (unlimited) it falls back to a 1 MiB cap (MAX_UNLIMITED_REQUEST_LINE), fields fall back to 8190 bytes (DEFAULT_MAX_FIELD_LINE) when the field-size limit is unlimited, and trailers are now counted against limit_request_fields with a fallback of 32768 fields (DEFAULT_MAX_FIELDS). The same 27.0.0 release also corrected ASGI handling of HEAD request bodies per RFC 9112 §6.3 and applied forwarded_allow_ips and HeaderPolicy to HTTP/1 ASGI requests so secure_scheme_headers and underscore header handling only honor trusted proxies; those are separate hardening changes bundled in the same pull request rather than additional vectors for this CVE.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote, unauthenticated, low-complexity trigger via unterminated lines against the ASGI worker; only availability is affected, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Gunicorn versions 25.2.0 through 26.2.2 running ASGI applications are vulnerable to a high-severity denial-of-service condition that can be triggered by an unauthenticated remote attacker, degrading or exhausting worker processes. If your teams operate ASGI-based Python services on the affected Gunicorn releases, availability of those services is at risk. Leadership should care because a vendor fix is already available, so the exposure is entirely avoidable with timely remediation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-132842
GHSA-m589-rp9j-v484
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB