CVE-2026-34520
JSON

2.7low

AIOHTTP: C parser (llhttp) accepts null bytes and control characters in response header values - header injection / security bypass

Severity
2.7low CVSS:4.0 by GitHub_M
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-63hf-3vf5-4wqfPYSEC-2026-2102

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, the C parser (the default for most installs) accepted null bytes and control characters in response headers. This issue has been patched in version 3.13.4.

Affected

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

All scores

GitHub_M2.7low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHub9.1low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Classification

CWE-113

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 version 3.13.4, the C parser (the default for most installs) accepted null bytes and control characters in response headers. This issue has been patched in version 3.13.4.

GitHub Advisory Database
Summary

The C parser (the default for most installs) accepted null bytes and control characters in request headers.

Impact

An attacker could send header values that are interpreted differently than expected due to the presence of control characters. For example, request.url.origin() may return a different value than the raw Host header, or what a reverse proxy interpreted it as., potentially resulting in some kind of security bypass.


Patch: https://github.com/aio-libs/aiohttp/commit/9370b9714a7a56003cacd31a9b4ae16eab109ba4

NVD (es)

AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Antes de la versión 3.13.4, el analizador C (el predeterminado para la mayoría de las instalaciones) aceptaba bytes nulos y caracteres de control en las cabeceras de respuesta. Este problema ha sido parcheado en la versión 3.13.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34520 changed 2026-04-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-63hf-3vf5-4wqf changed 2026-09-10CC-BY-4.0
NVDCVE-2026-34520 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-2102 changed 2026-07-13CC-BY-4.0