GHSA-27mf-ghqm-j3j8 · Severity: medium · Ecosystem: pip — aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method
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.
Conclusion & alert: CVE-2024-52303 is rated Moderate Risk (56.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.42%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-27 | 0.55% | 0.42% | -0.13% |
| 2 | 2026-05-25 | 0.40% | 0.55% | +0.15% |
| 3 | 2025-12-27 | — | 0.40% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-27mf-ghqm-j3j8 · Severity: medium · Ecosystem: pip — aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2024-52303 unimportant priority: Debian including 1 source packages (python-aiohttp), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2024-52303 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2024-52303 |
suse
|
high | CVE-2024-52303 severity important: SUSE including 9 source package names (python-aiohttp, python-aiohttp-doc, …), 31 product×package rows across 14 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, … (14 product lines)): Known Not Affected 26, Fixed 5. | https://www.suse.com/security/cve/CVE-2024-52303/ |
ubuntu
|
medium | CVE-2024-52303 medium priority: Ubuntu including 1 source packages (python-aiohttp), 8 status rows across 8 suites (bionic, focal, jammy, noble, oracular, plucky, upstream, xenial): not-affected 7, released 1. | https://ubuntu.com/security/CVE-2024-52303 |