CVE-2026-54277
JSON

6.6medium

AIOHTTP: C HTTP Parser Bypasses max_line_size for Fragmented Lines

Severity
6.6medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-63hw-fmq6-xxg2PYSEC-2026-2110

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, it is possible to bypass the max_line_size check in parts of an HTTP request in the C parser. If using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS. This vulnerability is fixed in 3.14.1.

Affected

Product or packageVersionsReported by
aio-libs aiohttp< 3.14.1CVE List
aiohttp (PyPI)before 3.14.1GitHub Advisory Database, PyPA Advisory Database
aiohttp aiohttpbefore 3.14.1NVD

All scores

GitHub_M6.6medium CVSS:4.0CVSS: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
GitHubmedium CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, it is possible to bypass the max_line_size check in parts of an HTTP request in the C parser. If using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS. This vulnerability is fixed in 3.14.1.

GitHub Advisory Database
Summary

It is possible to bypass the max_line_size check in parts of an HTTP request in the C parser.

Impact

If using the optimised C parser (the default in pre-built wheels), then an attacker may be able to send oversized lines through the HTTP parser and use an excessive amount of memory, potentially leading to DoS.


Patch: https://github.com/aio-libs/aiohttp/commit/5ab61bb4cd88f19b712f12c7c9295fe262bf804d

NVD (es)

AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Antes de la versión 3.14.1, es posible eludir la verificación max_line_size en partes de una solicitud HTTP en el analizador C. Si se utiliza el analizador C optimizado (el predeterminado en las ruedas precompiladas), entonces un atacante podría enviar líneas de tamaño excesivo a través del analizador HTTP y usar una cantidad excesiva de memoria, lo que podría conducir a un DoS. Esta vulnerabilidad se corrige en la versión 3.14.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54277 changed 2026-06-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-63hw-fmq6-xxg2 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-54277 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2110 changed 2026-07-13CC-BY-4.0