AIOHTTP vulnerabilities
Published: Wed, 22 Jul 2026 20:37
Summary
Several security issues were fixed in AIOHTTP.
Details
Sean Gilligan discovered that AIOHTTP did not properly limit memory usage when processing HTTP headers and trailers. An attacker could possibly use this issue to consume excessive system resources, resulting in a denial of service. (CVE-2026-22815) It was discovered that AIOHTTP did not properly limit the size of its DNS cache. An attacker could possibly use this issue to consume excessive system resources, resulting in a denial of service. (CVE-2026-34513) Mingi Jung discovered that AIOHTTP did not properly sanitize the content_type parameter. An attacker could possibly use this issue to inject malicious HTTP headers, resulting in HTTP response splitting. (CVE-2026-34514) It was discovered that AIOHTTP did not properly limit memory usage when processing multipart headers. An attacker could possibly use this issue to consume excessive system resources, resulting in a denial of service. (CVE-2026-34516)
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
python-aiohttp→3.0.1-1ubuntu0.1~esm7apt_upgrade_esmFixed at 3.0.1-1ubuntu0.1~esm7 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp=3.0.1-1ubuntu0.1~esm7
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
python3-aiohttp→3.0.1-1ubuntu0.1~esm7apt_upgrade_esmFixed at 3.0.1-1ubuntu0.1~esm7 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y python3-aiohttp=3.0.1-1ubuntu0.1~esm7
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu focal
python-aiohttp→3.6.2-1ubuntu1+esm6apt_upgradeStandard apt upgrade. Install 3.6.2-1ubuntu1+esm6 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-aiohttp→3.6.2-1ubuntu1+esm6apt_upgradeStandard apt upgrade. Install 3.6.2-1ubuntu1+esm6 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu jammy
python-aiohttp→3.8.1-4ubuntu0.2+esm3apt_upgradeStandard apt upgrade. Install 3.8.1-4ubuntu0.2+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-aiohttp-doc→3.8.1-4ubuntu0.2+esm3apt_upgradeStandard apt upgrade. Install 3.8.1-4ubuntu0.2+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-aiohttp→3.8.1-4ubuntu0.2+esm3apt_upgradeStandard apt upgrade. Install 3.8.1-4ubuntu0.2+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu noble
python-aiohttp→3.9.1-1ubuntu0.1+esm3apt_upgradeStandard apt upgrade. Install 3.9.1-1ubuntu0.1+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-aiohttp-doc→3.9.1-1ubuntu0.1+esm3apt_upgradeStandard apt upgrade. Install 3.9.1-1ubuntu0.1+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-aiohttp→3.9.1-1ubuntu0.1+esm3apt_upgradeStandard apt upgrade. Install 3.9.1-1ubuntu0.1+esm3 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu resolute
python-aiohttp→3.13.3-3ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 3.13.3-3ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
python-aiohttp-doc→3.13.3-3ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 3.13.3-3ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp-doc
Most apt upgrades restart their service automatically. needrestart lists anything else.
python3-aiohttp→3.13.3-3ubuntu1+esm1apt_upgradeStandard apt upgrade. Install 3.13.3-3ubuntu1+esm1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y python3-aiohttp
Most apt upgrades restart their service automatically. needrestart lists anything else.
Ubuntu xenial
python-aiohttp→0.20.2-1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.20.2-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y python-aiohttp=0.20.2-1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
python3-aiohttp→0.20.2-1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.20.2-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y python3-aiohttp=0.20.2-1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Are YOU affected by USN-8591-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8591-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.