---
schema_version: '1.0'
id: security-20260812-d63dc5
title: 'CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts'
url: https://osv.dev/vulnerability/GHSA-jj3x-wxrx-4x23
url_hash: d63dc52c6ea2fb84554066d16fd87ca830c671f8ae44fdc6c1baaaa0383f8a32
canonical_url: https://osv.dev/vulnerability/GHSA-jj3x-wxrx-4x23
source: osv:ghsa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2025-69227
- GHSA-jj3x-wxrx-4x23
- 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-01-05T23:10:15Z'
fetched_at: '2026-08-12T16:00:04.090311Z'
updated_at: '2026-08-22T14:37:48Z'
status: published
content_hash: f49dc838a8a0bbabc39067fef217e215eace4ddb8d90c5cdaaae2ef1bf82b1a2
content_changed_at: '2026-08-22T13:15:20.975742Z'
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
- GHSA-jj3x-wxrx-4x23
- Gift 5 articles to anyone you choose each month when you subscribe
- Leidos
- library vulnerability
- PyPI
- 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:43Z'
---

# 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 / GHSA-jj3x-wxrx-4x23 / 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:** GHSA-jj3x-wxrx-4x23 (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

_Data: OSV.dev (upstream: ghsa) — https://osv.dev/vulnerability/GHSA-jj3x-wxrx-4x23_

## Source
元記事: [CVE-2025-69227: AIOHTTP vulnerable to DoS when bypassing asserts](https://osv.dev/vulnerability/GHSA-jj3x-wxrx-4x23) — published 2026-01-05T23:10:15Z
