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 package | Versions | Reported by |
|---|---|---|
| aio-libs aiohttp | < 3.13.4 | CVE List |
| aiohttp (PyPI) | before 3.13.4 | GitHub Advisory Database, PyPA Advisory Database |
| aiohttp aiohttp | before 3.13.4 | NVD |
All scores
| GitHub_M | 2.7low CVSS:4.0 | CVSS: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-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 9.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| GitHub | low CVSS:4.0 | CVSS: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 Database | Not scored CVSS:4.0 | CVSS: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
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34520 changed 2026-04-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-63hf-3vf5-4wqf changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-34520 changed 2026-10-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2102 changed 2026-07-13 | CC-BY-4.0 |