CVE Explorer
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".
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","modules":["email"],"product":"CPython","repo":"https://github.com/python/cpython","vendor":"Python Software Foundation","versions":[{"lessThan":"3.10.20","status":"affected","version":"0","versionType":"python"},{"lessThan":"3.11.15","status":"affected","version":"3.11.0","versionType":"python"},{"lessThan":"3.12.13","status":"affected","version":"3.12.0","versionType":"python"},{"lessThan":"3.13.12","status":"affected","version":"3.13.0","versionType":"python"},{"lessThan":"3.14.3","status":"affected","version":"3.14.0","versionType":"python"},{"lessThan":"3.15.…
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact"…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-93","description":"CWE-93","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/problemTypes/0/descriptions/0
Source references
10 source assertions{"tags":["related"],"url":"https://cve.org/CVERecord?id=CVE-2024-6923"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/2
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/052e55e7d44718fe46cbba0ca995cb8fcc359413"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/4
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/0a925ab591c45d6638f37b5e57796f36fa0e56d8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/5
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/7877fe424415bc4a13045e62a90a7277413d8cb9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/6
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/842ce19a0c0b58d61591e8f6a708c38db1fb94e4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/7
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/8cdf6204f4ae821f32993f8fc6bad0d318f95f36"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/8
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/e417f05ad77a4c30ddc07f99e90fc0cef43e831a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/9
{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/144125"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/1
{"tags":["patch"],"url":"https://github.com/python/cpython/pull/144126"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/0
{"tags":["vendor-advisory"],"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/6ZZULGALJTITEAGEXLDJE2C6FORDXPBT/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3a09539e933dc6ba51cc4d943bd34903e7f33273b605c832a819c3a21b3e6d29 · sha256:a6a1b64d88e93d2a… · /containers/cna/references/3
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.