{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-1299","published":"2026-01-23T17:16:12.977000Z","last_modified":"2026-06-17T10:15:28.543000Z","status":"Deferred","cvss":{"version":"4.0","score":6.0,"severity":"MEDIUM","vector":"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/E:X/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","source":"cna@python.org","primary":false},"auth":true,"cwes":["CWE-93"],"cpes":[],"cpes_truncated":false,"vendors":["python-software-foundation"],"products":["python-software-foundation/cpython"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":36,"links":{"html_es":"/es/cve/CVE-2026-1299/","html_en":"/en/cve/CVE-2026-1299/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-1299","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-1299"},"untrusted":{"vendor_name":"Python Software Foundation","product_name":"CPython","desc_en":"The \nemail module, specifically the \"BytesGenerator\" class, didn’t properly quote newlines for email headers when \nserializing an email message allowing for header injection when an email\n 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\".","affected":[{"untrusted_vendor":"Python Software Foundation","untrusted_product":"CPython","versions":[]}],"references":[{"url":"https://cve.org/CVERecord?id=CVE-2024-6923","tags":[]},{"url":"https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413","tags":[]},{"url":"https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8","tags":[]},{"url":"https://github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9","tags":[]},{"url":"https://github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4","tags":[]},{"url":"https://github.com/python/cpython/commit/8cdf6204f4ae821f32993f8fc6bad0d318f95f36","tags":[]},{"url":"https://github.com/python/cpython/commit/e417f05ad77a4c30ddc07f99e90fc0cef43e831a","tags":[]},{"url":"https://github.com/python/cpython/issues/144125","tags":[]},{"url":"https://github.com/python/cpython/pull/144126","tags":[]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:1117-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261117-1/","published":"2026-09-17T20:14:37+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Security update for python311"}},{"source":"redhat","id":"RHSA-2026:8822","url":"https://access.redhat.com/errata/RHSA-2026:8822","published":"2026-04-20T10:12:15+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}},{"source":"redhat","id":"RHSA-2026:8824","url":"https://access.redhat.com/errata/RHSA-2026:8824","published":"2026-04-20T10:12:15+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}},{"source":"redhat","id":"RHSA-2026:7661","url":"https://access.redhat.com/errata/RHSA-2026:7661","published":"2026-04-20T10:11:18+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update"}},{"source":"suse","id":"SUSE-SU-2026:1354-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261354-1/","published":"2026-04-15T13:37:43+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for python313"}},{"source":"suse","id":"SUSE-SU-2026:1349-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261349-1/","published":"2026-04-15T13:35:56+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for python311"}}]}