cve.bz

CVE-2025-69227 aiohttp aiohttp: Infinite Loop

6.6 mediumEPSS 0.4%Fix available

Medium (6.6) in aiohttp aiohttp. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in aiohttp 3.13.3.

On this page
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Versions 3.13.2 and below allow for an infinite loop to occur when assert statements are bypassed, resulting in a DoS attack when processing a POST body. If optimizations are enabled (-O or PYTHONOPTIMIZE=1), and the application includes a handler that uses the Request.post() method, then an attacker may be able to execute a DoS attack with a specially crafted message. This issue is fixed in version 3.13.3.

Severity

CVSS 4.0

6.6 medium
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:U

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-16. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-01-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-69227 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-69227?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-69227?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-69227 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
aiohttp:aiohttpbefore 3.13.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jj3x-wxrx-4x23PyPIaiohttp<3.13.33.13.3
PYSEC-2026-1107PyPIaiohttp<3.13.33.13.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-aiohttp3.8.4-1+deb12u2DEBIAN-CVE-2025-69227
Debian13python-aiohttp3.11.16-1+deb13u1DEBIAN-CVE-2025-69227
Debian14python-aiohttp3.13.3-1DEBIAN-CVE-2025-69227
Ubuntu25.10python-aiohttp3.11.16-1ubuntu0.1UBUNTU-CVE-2025-69227
UbuntuPro:16.04:LTS, Pro:18.04:LTSpython-aiohttpno fix listedUBUNTU-CVE-2025-69227
UbuntuPro:22.04:LTSpython-aiohttp3.8.1-4ubuntu0.2+esm2UBUNTU-CVE-2025-69227
UbuntuPro:24.04:LTSpython-aiohttp3.9.1-1ubuntu0.1+esm2UBUNTU-CVE-2025-69227
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-aiohttp3.9.3-150400.10.36.1SUSE-SU-2026:0858-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5, Linux Enterprise Module for Public Cloud 15 SP6 and 1 morepython-aiohttp3.6.0-150100.3.32.1SUSE-SU-2026:0859-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-Brotli1.1.0-160000.3.1SUSE-SU-2026:20425-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-aiohttp3.11.16-160000.3.1SUSE-SU-2026:20425-1
openSUSELeap 15.6python-aiohttp3.9.3-150400.10.36.1SUSE-SU-2026:0858-1
openSUSELeap 16.0python-Brotli1.1.0-160000.3.1openSUSE-SU-2026:20204-1
openSUSELeap 16.0python-aiohttp3.11.16-160000.3.1openSUSE-SU-2026:20204-1
openSUSETumbleweedpython-aiohttp3.13.3-1.1openSUSE-SU-2026:10025-1
Alpinev3.23, v3.24py3-aiohttp3.13.3-r0ALPINE-CVE-2025-69227
Azure Linux2python-aiohttpno fix listedAZL-73506
Azure Linux3python-aiohttpno fix listedAZL-73529

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat products as it can lead to a Denial of Service (DoS) in applications utilizing the `aiohttp` library. Exploitation requires Python optimizations to be explicitly enabled (e.g., via `-O` or `PYTHONOPTIMIZE=1`) and the application to process POST requests using the `Request.post()` method. Red Hat products are affected if they meet these specific configuration and usage criteria.

Red Hat's mitigation

No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1774351144Fixed 2026-03-25RHSA-2026:5809
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:1774547384Fixed 2026-04-07RHSA-2026:6761
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1775252598Fixed 2026-04-07RHSA-2026:6762
Red Hat Ansible Automation Platform 2.18ansible-automation-platform/ee-minimal-rhel8:1786971288Fixed 2026-08-17RHSA-2026:55853
Red Hat Ansible Automation Platform 2.18ansible-automation-platform/ee-minimal-rhel9:1786942232Fixed 2026-08-17RHSA-2026:55852
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/lightspeed-rhel8:1777403872Fixed 2026-05-04RHSA-2026:13553
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-chatbot-rhel9:1777398576Fixed 2026-05-04RHSA-2026:13545
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-rhel9:1777387242Fixed 2026-05-04RHSA-2026:13545
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-rhel9:1787244079Fixed 2026-08-24RHSA-2026:59155
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/mcp-tools-rhel9:1787219369Fixed 2026-08-24RHSA-2026:59155
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9Affected
OpenShift Service Mesh 2openshift-service-mesh/grafana-rhel8Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-must-gather-rhel9Affected
OpenShift Service Mesh 2openshift-service-mesh/istio-operator-bundleAffected
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorAffected
OpenShift Service Mesh 2openshift-service-mesh/pilot-rhel8Affected
OpenShift Service Mesh 2openshift-service-mesh/proxyv2-rhel9Affected
95 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-69227.

References

Check your stackJSON