CVE-2026-1299
MEDIUM EPSS 42.4%
Published Jan 23, 20265mo ago · Modified Jun 17, 20262w ago
6.0 CVSS 4.0
Published Jan 23, 2026 5mo ago
Last Modified Jun 17, 2026 2w ago
Description
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 Details
Base Score
Exploitability
Impact
Vector string
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 Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
42.4% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-93
References 10
- cve.org https://cve.org/CVERecord?id=CVE-2024-6923
- github.com https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413
- github.com https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8
- github.com https://github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9
- github.com https://github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4
- github.com https://github.com/python/cpython/commit/8cdf6204f4ae821f32993f8fc6bad0d318f95f36
- github.com https://github.com/python/cpython/commit/e417f05ad77a4c30ddc07f99e90fc0cef43e831a
- github.com https://github.com/python/cpython/issues/144125
- github.com https://github.com/python/cpython/pull/144126
- mail.python.org https://mail.python.org/archives/list/security-announce@python.org/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.