Memory Exhaustion Vulnerability in Python AIOHTTP Package

python-aiohttp Updated 02 Apr 2026

Summary

01/04/2026
N/A
No i
Unrated
Not published

DEBIAN-CVE-2026-34513: AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Affects python-aiohttp versions 3.10.0-1 – 3.9.5-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

AIOHTTP is an asynchronous HTTP client/server framework designed for Python's asyncio library. It allows developers to build web applications and services that can handle multiple requests concurrently, making it a popular choice for modern web development. The package is widely used due to its efficiency and ease of use, but it has recently been identified as having a significant vulnerability that could lead to excessive memory usage.

Vulnerability Detail

The vulnerability, identified as CVE-2026-34513, is rooted in an unbounded DNS cache within the AIOHTTP framework. This flaw can lead to excessive memory consumption, potentially resulting in a Denial of Service (DoS) situation where the application becomes unresponsive due to resource exhaustion. The issue affects all versions of the package prior to 3.13.4, making it critical for users to address it promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can limit the size of the DNS cache manually in their application settings to mitigate memory usage until they can upgrade to the patched version. This can be done by configuring the DNS resolver settings in the AIOHTTP application.

Conclusion

The AIOHTTP package has a critical vulnerability (CVE-2026-34513) that can lead to excessive memory usage and potential Denial of Service. Users are strongly advised to update to version 3.13.4 or later to mitigate this risk. Temporary workarounds are available, but upgrading is the most effective solution.

See every vulnerability recorded for python-aiohttp →

Share this vulnerability

FAQ

CVE-2026-34513 is a vulnerability in the AIOHTTP package that can lead to excessive memory usage due to an unbounded DNS cache.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The primary impact is a Denial of Service (DoS) situation, where the application may become unresponsive due to excessive memory consumption.

You can update the AIOHTTP package by running the command 'pip install --upgrade aiohttp' in your terminal.

Yes, you can limit the size of the DNS cache in your application settings as a temporary workaround until you can upgrade.

Related vulnerabilities

Recent vulnerabilities recorded for python-aiohttp.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback