CVE-2025-69223: Aiohttp AIOHTTP's HTTP Parser Auto_decompress Feature Vulnerability

HIGH
Advisory Identifier: GHSA-6mq8-rvhq-8wgg
CVSS 7.5
CWE-409 CWE-770
Published
Advisory Summary

CVE-2025-69223 is a HIGH (CVSS 7.5) aiohttp's http parser auto_decompress feature vulnerability (CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)) affecting Aiohttp libraries in the PyPI ecosystem. The issue involves aiohttp's http parser auto_decompress feature is vulnerable to zip bomb. Remediation is available by upgrading affected packages to version 3.13.3.

CVE-2025-69223 at a Glance

CVE Identifier CVE-2025-69223
GHSA Identifier GHSA-6mq8-rvhq-8wgg
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Affected Product Aiohttp
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2025-69223

To remediate this vulnerability, upgrade all affected Aiohttp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

aiohttp fixed: 3.13.3
pip install aiohttp>=3.13.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show aiohttp

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-69223, inspect your installed packages using pip:

pip show aiohttp

Analyze the terminal output to locate any version of Aiohttp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.13.3), your application is affected.

Note: The pip show aiohttp command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification), where the product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output. In Aiohttp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary A zip bomb can be used to execute a DoS against the aiohttp server. ### Impact An attacker may be able to send a compressed request that when decompressed by aiohttp could exhaust the host's memory. ------ Patch: https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a

CVE-2025-69223 Affected Aiohttp Versions

1 component(s)
Fixed Versions:
3.13.3
Product / Package Ecosystem Affected Versions Fixed Version
aiohttp
PyPI
< 3.13.3
3.13.3

References

Frequently Asked Questions

What is CVE-2025-69223?
CVE-2025-69223 is a security vulnerability in Aiohttp involving AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification).
Which Aiohttp versions are affected?
Affected versions include releases prior to 3.13.3 across affected packages: aiohttp.
What version fixes CVE-2025-69223?
Upgrading to 3.13.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aiohttp affected?
Yes, aiohttp is affected in releases prior to 3.13.3. Upgrade your dependency to 3.13.3 or later.
What is the CVSS score of CVE-2025-69223?
CVE-2025-69223 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2025-69223?
CVE-2025-69223 is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification) (The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.).
How can I check PyPI dependencies for CVE-2025-69223?
Run the dependency tree command: 'pip show aiohttp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6mq8-rvhq-8wgg",
  "modified" : "2026-01-06T16:06:18Z",
  "published" : "2026-01-05T22:58:41Z",
  "aliases" : [ "CVE-2025-69223" ],
  "summary" : "AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb",
  "details" : "### Summary\nA zip bomb can be used to execute a DoS against the aiohttp server.\n\n### Impact\nAn attacker may be able to send a compressed request that when decompressed by aiohttp could exhaust the host's memory.\n\n------\n\nPatch: https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "aiohttp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.13.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.13.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6mq8-rvhq-8wgg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-69223"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aio-libs/aiohttp/commit/2b920c39002cee0ec5b402581779bbaaf7c9138a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aio-libs/aiohttp"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-409", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-05T22:58:41Z",
    "nvd_published_at" : "2026-01-05T22:15:53Z"
  }
}