CVE-2024-52303
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions starting with 3.10.6 and prior to 3.10.11, a memory leak can occur when a request produces a MatchInfoError. This was caused by adding an entry to a cache on each request, due to the building of each MatchInfoError producing a unique cache entry. An attacker may be able to exhaust the memory resources of a server by sending a substantial number (100,000s to millions) of such requests. Those who use any middlewares with aiohttp.web should upgrade to version 3.10.11 to receive a patch.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.7
- CVSS vector
- 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
- EPSS probability
- 0.59%
- CWE
- CWE-772
- Published
- 2024-11-18
- Last modified
- 2026-03-13
Affected products
- aio-libs aiohttp
Weakness type
Related vulnerabilities
- CVE-2026-72931 — Windows Secure Socket Tunneling Protocol (SSTP) Denial of Service Vulnerability
- CVE-2026-18149 — undici vulnerable to Denial of Service via orphaned RetryHandler response body
- CVE-2026-69664 — httpd parks a request worker indefinitely on a malformed chunk size sent after the headers
- CVE-2026-71380 — httpd applies no timeout while receiving a request body, parking a worker on a stalled client
- CVE-2026-77384 — libp2p: Circuit relay v2 server reservation refresh leaks abort listeners and allows remote resource exhaustion
- CVE-2026-59654 — Apache CloudStack: DoS caused by database connections leak
- CVE-2026-73508 — Netty: Memory Leak in DNS Record Decoder via Malformed Domain Names
- CVE-2026-73215 — The coturn server can end in a state where it does not accept more requests with "even-port" enabled.