CVE-2024-6923

published 1 Aug 2024 · updated 16 Nov 2026

Email header injection due to unquoted newlines

5.5MediumCVSS 5.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.8.20, 3.10.15, 3.11.10 and 3 more.

There is a MEDIUM severity vulnerability affecting CPython. The email module didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.8.20, >=3.10.0 <3.10.15, >=3.11.0 <3.11.10, >=3.12.0 <3.12.5, >=3.13.0a1 <3.13.0rc2, >=3.9.0 <3.9.203.8.20, 3.10.15, 3.11.10, 3.12.5, 3.13.0rc2, 3.9.20

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-6923 severity on Zeptric[![CVE-2024-6923](https://zeptric.io/badge/cve/CVE-2024-6923.svg)](https://zeptric.io/cve/CVE-2024-6923)