Description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In affected versions an attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests. An attacker can stop the application from serving requests after sending a single request. This issue has been addressed in version 3.9.4. Users are advised to upgrade. Users unable to upgrade may manually apply a patch to their systems. Please see the linked GHSA for instructions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| aio-libs | aiohttp | < 3.9.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-aiohttp | 3.9.5-1 | — |
| Debian 13 | python-aiohttp | 3.9.5-1 | — |
| Debian 12 | python-aiohttp | 3.8.4-1+deb12u1 | DSA-5828-1 |
| Debian 11 | python-aiohttp | 3.7.4-1+deb11u1 | DLA-4041-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | python-aiohttp | 3.9.1-1ubuntu0.1+esm1 | USN-7642-1 |
| Ubuntu Pro 22.04 LTS | python-aiohttp | 3.8.1-4ubuntu0.2+esm1 | USN-7642-1 |
| Ubuntu Pro 20.04 LTS | python-aiohttp | 3.6.2-1ubuntu1+esm4 | USN-7642-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | python-aiohttp | 3.0.1-1ubuntu0.1~esm5 | USN-7642-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhui 4 | python-aiohttp +1 | 3.9.4-1.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-cryptography +1 | 42.0.8-1.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-django +1 | 4.2.15-1.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-grpcio +1 | 1.65.4-1.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-gunicorn +1 | 22.0.0-1.0.1.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-jinja2 +1 | 3.1.4-1.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-requests +1 | 2.32.3-2.el8ui | RHSA-2025:1335 |
| Red Hat Rhui 4 | python-sqlparse +1 | 0.5.0-1.el8ui | RHSA-2025:1335 |
| Red Hat Ansible Automation Platform Inside 2 | python-black +1 | 22.8.0-2.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python-cryptography +1 | 42.0.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python-jinja2 +1 | 3.1.4-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python39-black +1 | 22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python39-cryptography +1 | 42.0.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | python39-jinja2 +1 | 3.1.4-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Inside 2 | receptor +1 | 1.4.8-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-black +1 | 22.8.0-2.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-cryptography +1 | 42.0.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-idna +1 | 3.7-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-jinja2 +1 | 3.1.4-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python-requests +1 | 2.32.2-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-black +1 | 22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-cryptography +1 | 42.0.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-idna +1 | 3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-jinja2 +1 | 3.1.4-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | python39-requests +1 | 2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform Developer 2 | receptor +1 | 1.4.8-1.el8ap | RHSA-2024:3781 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.5.7-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | automation-hub +2 | 4.9.2-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-aiohttp +1 | 3.9.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-black +1 | 22.8.0-2.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-cryptography +1 | 42.0.5-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-galaxy-ng +1 | 4.9.2-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-gunicorn +1 | 22.0.0-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-idna +1 | 3.7-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-jinja2 +1 | 3.1.4-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-pillow +1 | 10.3.0-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-pydantic +1 | 1.10.15-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-requests +1 | 2.32.2-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-social-auth-app-django +1 | 5.4.1-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python-sqlparse +1 | 0.5.0-1.el9ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-aiohttp +1 | 3.9.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-black +1 | 22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-cryptography +1 | 42.0.5-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-gunicorn +1 | 22.0.0-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-idna +1 | 3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-jinja2 +1 | 3.1.4-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-pillow +1 | 10.3.0-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-pydantic +1 | 1.10.15-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-requests +1 | 2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-social-auth-app-django +1 | 5.4.1-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | python39-sqlparse +1 | 0.5.0-1.el8ap | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2 | receptor +1 | 1.4.8-1.el8ap | RHSA-2024:3781 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | python-aiohttp | 3.6.0-150100.3.21.1 | SUSE-SU-2024:4328-1 |
| SLES 15 SP5 | python-aiohttp | 3.6.0-150100.3.21.1 | SUSE-SU-2024:4328-1 |
| SLES 15 SP4 | python-aiohttp | 3.6.0-150100.3.21.1 | SUSE-SU-2024:4328-1, SUSE-SU-2024:4327-1 |
| SLES 15 SP3 | python-aiohttp | 3.6.0-150100.3.21.1 | SUSE-SU-2024:4328-1 |
| SLES 15 SP2 | python-aiohttp | 3.6.0-150100.3.21.1 | SUSE-SU-2024:4328-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | python-aiohttp | 3.9.3-150400.10.30.1 | SUSE-SU-2024:4327-1 |
| SLES for SAP 15 SP4 | python-aiohttp | 3.9.3-150400.10.30.1 | SUSE-SU-2024:4327-1 |
| SLE HPC 15 SP4 | python-aiohttp | 3.9.3-150400.10.30.1 | SUSE-SU-2024:4327-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | python-aiohttp | 3.9.3-150400.10.30.1 | SUSE-SU-2024:4327-1 |
| openSUSE Leap 15.5 | python-aiohttp | 3.6.0-150100.3.21.1 | SUSE-SU-2024:4328-1, SUSE-SU-2024:4327-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-aiohttp | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | python-aiohttp | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | checkov | 3.0.34-r1 | — |
| Wolfi rolling | dask-gateway +1 | 2024.1.0-r4 | — |
| Wolfi rolling | kserve +9 | 0.13.1-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | aiohttp | < 3.9.4 | 3.9.4 | GHSA-5m98-qgg9-wh84 |
Advisories 10
- WID-SEC-2024-1328 Red Hat Ansible Automation Platform: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2025:1335 Red Hat Security Advisory: RHUI 4.11 security, bugfix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2024:3781 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 17, 2026
- WID-SEC-2024-3195 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-7642-1 python-aiohttp vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5828-1 python-aiohttp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4041-1 python-aiohttp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:4327-1 Security update for python-aiohttp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:4328-1 Security update for python-aiohttp SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2024-0414 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Oct 17, 2024
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5m98-qgg9-wh84
- https://github.com/aio-libs/aiohttp/commit/7eecdff163ccf029fbb1ddc9de4169d4aaeb6597
- https://github.com/aio-libs/aiohttp/commit/cebe526b9c34dc3a3da9140409db63014bc4cf19
- https://github.com/aio-libs/aiohttp/commit/f21c6f2ca512a026ce7f0f6c6311f62d6a638866
- http://www.openwall.com/lists/oss-security/2024/05/02/4