Vulnerability
CVE-2026-1299
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".
102 advisories report this vulnerability, across 14 ecosystems.
Advisories in Oracle Linux
-
ELSA-2026-2128
ELSA-2026-2128: python3 security update (MODERATE)
-
ELSA-2026-4165
ELSA-2026-4165: python3.12 security update (MODERATE)
-
ELSA-2026-4168
ELSA-2026-4168: python3.9 security update (MODERATE)
-
ELSA-2026-4216
ELSA-2026-4216: python3.11 security update (MODERATE)
-
ELSA-2026-4463
ELSA-2026-4463: python3.12 security update (MODERATE)
-
ELSA-2026-4473
ELSA-2026-4473: python3.11 security update (MODERATE)
-
ELSA-2026-4713
ELSA-2026-4713: python3.12 security update (MODERATE)
-
ELSA-2026-6464
ELSA-2026-6464: python3 security update (MODERATE)
References
- https://cve.org/CVERecord?id=CVE-2024-6923
- https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413
- https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8
- https://github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9
- https://github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4
- https://github.com/python/cpython/commit/8cdf6204f4ae821f32993f8fc6bad0d318f95f36
- https://github.com/python/cpython/commit/e417f05ad77a4c30ddc07f99e90fc0cef43e831a
- https://github.com/python/cpython/issues/144125
- https://github.com/python/cpython/pull/144126
- https://mail.python.org/archives/list/[email protected]/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/