CVE Database
/

CVE-2026-1299

Back to search

CVE-2026-1299

Published: Jan 23, 2026

Modified: Mar 3, 2026

PUBLISHED

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".

VendorProductVersions

Python Software Foundation

CPython

affected
0 - < 3.10.20
affected
3.11.0 - < 3.11.15
affected
3.12.0 - < 3.12.13
affected
3.13.0 - < 3.13.12
affected
3.14.0 - < 3.14.3

+1 more versions

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now