ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-1299

Details

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

Affected packages

EcosystemPackageAffected versions
Debian:12pypy3
All versions, no fix listed
Debian:13pypy3
All versions, no fix listed
Debian:14pypy3
All versions before 7.3.21+dfsg-1 (fixed in 7.3.21+dfsg-1)
Debian:12python3.11
All versions before 3.11.2-6+deb12u7 (fixed in 3.11.2-6+deb12u7)
Debian:13python3.13
All versions before 3.13.5-2+deb13u1 (fixed in 3.13.5-2+deb13u1)
Debian:14python3.14
All versions before 3.14.3-1 (fixed in 3.14.3-1)

References