Intel

AIKIDO-2026-168095

aiohttp is vulnerable to Out-of-bounds Read

Out-of-bounds ReadGHSA-cq5v-8q36-5273 Published 6 days ago

75

High Risk

This Affects:

PYTHONaiohttp
0.0.1 - 3.14.2
Fixed in 3.14.3
Are you affected? Scan for Free

TL;DR

The optimised C HTTP response parser builds an error-message snippet for a malformed response by reading from the fed buffer using the raw llhttp error-position pointer. When the response is malformed in specific ways this read can extend past the end of the allocated buffer, producing an out-of-bounds heap read. An attacker-controlled or compromised server, or an accidental malformed response, can crash the client and cause a denial of service. The fix slices the error snippet from a bounded buffer using a computed offset so the read stays within the allocated bytes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you are using the default C parser (built C extensions).

Background info

aiohttp is vulnerable to Out-of-bounds Read in versions 0.0.1 - 3.14.2.

How to fix this

Upgrade the aiohttp library to the patch version.