CVE-2026-1299
CVE-2026-1299 — email BytesGenerator header injection due to unquoted newlines
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".
Published Updated Sources: cvelistV5, PSF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.0
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.0 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-93
References
10 on the record
- github.com/python/cpython/pull/144126
patch
- github.com/python/cpython/issues/144125
issue-tracking
- cve.org/CVERecord?id=CVE-2024-6923
related
- mail.python.org/archives/list/[email protected]/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/
vendor-advisory
- github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413
patch
- github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8
patch
- github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9
patch
- github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4
patch
Related CVEs
Same product first, then the same weakness or threat actor.
Elsewhere on this site
- Python Software Foundationevery CVE for this vendor
- CWE-93other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.