{"cve":"CVE-2024-52303","nvd":{"published":"2024-11-18T20:15:06.047","modified":"2026-06-17T08:06:58.483","status":"Analyzed","description":"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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-772"],"references":["https://github.com/aio-libs/aiohttp/commit/bc15db61615079d1b6327ba42c682f758fa96936","https://github.com/aio-libs/aiohttp/security/advisories/GHSA-27mf-ghqm-j3j8"],"products":["aiohttp:aiohttp"],"source":"nvd","synced_at":"2026-10-19T21:57:34.731061660+00:00"},"epss":{"cve":"CVE-2024-52303","score":0.00591,"percentile":0.4828,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-27mf-ghqm-j3j8","url":"https://osv.dev/vulnerability/GHSA-27mf-ghqm-j3j8","summary":"aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method","modified":"2026-09-10T03:50:20.382497140Z","packages":[{"ecosystem":"PyPI","name":"aiohttp","purl":"pkg:pypi/aiohttp","ranges":[">=3.10.6 <3.10.11"],"fixed":["3.10.11"]}]},{"id":"PYSEC-2026-1096","url":"https://osv.dev/vulnerability/PYSEC-2026-1096","summary":"aiohttp has a memory leak when middleware is enabled when requesting a resource with a non-allowed method","modified":"2026-07-07T17:46:18.681380663Z","packages":[{"ecosystem":"PyPI","name":"aiohttp","purl":"pkg:pypi/aiohttp","ranges":[">=3.10.6 <3.10.11"],"fixed":["3.10.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}