Vulnerability in Python Software Foundation Cpython

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

Vulnerability class: CRLF Injection

Published · last modified .

EPSS exploit prediction

EPSS: 0.006 (45.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 45.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-1299: held from 0.005 to 0.006.

EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.000

Affected products

Weakness classification (CWE)

References