---
schema_version: '1.0'
id: security-20260812-d33831
title: 'CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts'
url: https://osv.dev/vulnerability/PYSEC-2026-1107
url_hash: d33831faad159211523e18412232bf9fdf04a388b71fd8793210c7153b7e8f6a
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-1107
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2025-69227
- PYSEC-2026-1107
- severity: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
- aiohttp
- PyPI
lang: en
published_at: '2026-07-07T16:03:15Z'
fetched_at: '2026-08-12T16:00:04.149592Z'
updated_at: '2026-08-22T14:37:48Z'
status: published
content_hash: 30ff1d8dcdd6d74e20bc8fc318c9112fc014a160aec5c27a302eedbf2e74a68c
content_changed_at: '2026-08-22T13:15:21.030523Z'
license_note: full
summary: AIOHTTP vulnerable to DoS when bypassing asserts
summary_source: rss
summary_en: AIOHTTP vulnerable to DoS when bypassing asserts
summary_omitted_reason: null
redistribution: true
keywords_en:
- aiohttp
- asserts
- bypassing
- CVE
- CVE-2025-69227
- DoS
- Gift 5 articles to anyone you choose each month when you subscribe
- Leidos
- library vulnerability
- PyPI
- PYSEC-2026-1107
- severity: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
- software security
- vulnerable
- when
entities_en:
- name: CVE
  type: data
- name: Gift 5 articles to anyone you choose each month when you subscribe
  type: content
- name: Leidos
  type: organization
- name: PyPI
  type: artifact
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
- name: PyPI
  type: artifact
- name: Leidos
  type: organization
- name: Gift 5 articles to anyone you choose each month when you subscribe
  type: content
related_auto:
- name: Portal
  type: organization
  weight: 1.0
- name: Hugging Face
  type: organization
  weight: 1.0
computed_at: '2026-08-22T14:37:46Z'
---

# CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts

## TL;DR
AIOHTTP vulnerable to DoS when bypassing asserts

## Key Points
- cve / CVE-2025-69227 / PYSEC-2026-1107 / severity: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 / aiohttp / PyPI

## Details
**Severity:** 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
**Advisory:** PYSEC-2026-1107 (CVE-2025-69227)

**Details:**
### Summary
When assert statements are bypassed, an infinite loop can occur, resulting in a DoS attack when processing a POST body.

### Impact
If optimisations 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.

------

Patch: https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259

**References:**
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jj3x-wxrx-4x23
- https://nvd.nist.gov/vuln/detail/CVE-2025-69227
- https://github.com/aio-libs/aiohttp/commit/bc1319ec3cbff9438a758951a30907b072561259
- https://github.com/aio-libs/aiohttp
- https://pypi.org/project/aiohttp
- https://github.com/advisories/GHSA-jj3x-wxrx-4x23

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-1107_

## Source
元記事: [CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts](https://osv.dev/vulnerability/PYSEC-2026-1107) — published 2026-07-07T16:03:15Z
