Live threats

All CVEs / Aiohttp

CVE-2024-52303Aiohttp

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Nov 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-772
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Aiohttp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI aiohttp ≥ 3.10.6 < 3.10.11 3.10.11 pip install "aiohttp>=3.10.11"
PyPI aiohttp ≥ 3.10.6 < 3.10.11 3.10.11 pip install "aiohttp>=3.10.11"

Per OSV / GitHub Advisories (GHSA-27mf-ghqm-j3j8, PYSEC-2026-1096). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
aiohttpaiohttp≥ 3.10.6 < 3.10.11

Official sources

References

Links published by the sources. Open them with care.