CVE-2026-1299: fallo de gravedad media en Python Software Foundation CPython
email BytesGenerator header injection due to unquoted newlines
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
13Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 6epss 0.6%
The
email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when
serializing an email message allowing for header injection when an email
is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly folded headers in "BytesGenerator".
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Productos afectados
Python Software Foundation · CPythonCVEs relacionadas — Python Software Foundation CPython
En el mismo producto, de las más peligrosas a las menos.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-6232HIGHRegular-expression DoS when parsing TarFile headersEPSS 2.2%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.6%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%
Referencias
https://cve.org/CVERecord?id=CVE-2024-6923https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8https://github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9https://github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4https://github.com/python/cpython/commit/8cdf6204f4ae821f32993f8fc6bad0d318f95f36https://github.com/python/cpython/commit/e417f05ad77a4c30ddc07f99e90fc0cef43e831ahttps://github.com/python/cpython/issues/144125https://github.com/python/cpython/pull/144126https://mail.python.org/archives/list/security-announce@python.org/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/