Critical Memory Overflow Vulnerability in Python AIOHTTP Package

python-aiohttp Updated 23 Jun 2026

Summary

22/06/2026
N/A
No i
Unrated
Not published

DEBIAN-CVE-2026-54277: 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 connections simultaneously. The package is widely used for its efficiency and ease of use, but it has a critical vulnerability that can lead to denial of service (DoS) attacks if not addressed.

Vulnerability Detail

Prior to version 3.14.1, AIOHTTP's C parser had a flaw that allowed attackers to bypass the max_line_size check in HTTP requests. This could enable an attacker to send oversized lines, consuming excessive memory and potentially crashing the server. This vulnerability poses a significant risk, especially for applications relying on the C parser for performance.

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

If immediate updating is not possible, consider switching to the pure Python parser by modifying your application code to use the 'aiohttp.web' module instead of the C parser. This can be done by setting the 'parser' parameter to 'aiohttp.web.Request' in your application configuration.

Conclusion

The vulnerability in the AIOHTTP package poses a serious risk to applications using the C parser, allowing for potential denial of service attacks. It is crucial to update to version 3.14.1 or later to mitigate this risk. For those unable to update immediately, switching to the pure Python parser can serve as a temporary solution.

See every vulnerability recorded for python-aiohttp →

Share this vulnerability

FAQ

The vulnerability allows attackers to bypass memory limits in the AIOHTTP C parser, leading to potential denial of service.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The primary risk is denial of service (DoS), where an attacker can crash your server by consuming excessive memory.

Yes, the vulnerability is fixed in version 3.14.1 of the python-aiohttp package.

Consider using the pure Python parser as a temporary workaround until you can update to the patched version.

Related vulnerabilities

Recent vulnerabilities recorded for python-aiohttp.

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