CVE-2024-6923 | Email header injection due to unquoted newlines

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.

Published: 2024-08-01 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-6923 is rated Low Risk (39.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.74%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-6923

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.24% 0.74% +0.50%
2 2026-04-09 0.32% 0.24% -0.08%
3 2026-04-07 0.32%

Full EPSS history (16 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-6923

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.1 3.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-6923

OS Trackers for CVE-2024-6923

vendor priority summary link
alpine CVE-2024-6923: 1 source package rows (python3); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2024-6923
debian not yet assigned CVE-2024-6923 not yet assigned priority: Debian including 5 source packages (pypy3, python2.7, python3.11, python3.13, python3.9), 11 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 9, open 2. https://security-tracker.debian.org/tracker/CVE-2024-6923
gentoo high CVE-2024-6923: 1 GLSA(s) (202506-07), 2 atom(s) (dev-lang/pypy, dev-lang/python); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-6923
redhat medium https://access.redhat.com/security/cve/CVE-2024-6923
suse high CVE-2024-6923 severity important: SUSE including 614 source package names (0.0.17-1.1:libpython3_11-1_0-3.11.9-150600.3.3.1, 0.0.17-1.1:libpython3_6m1_0-3.6.15-150300.10.72.1, …), 2659 product×package rows across 420 product lines (Container bci/bci-sle15-kernel-module-devel, Container bci/kiwi, … (420 product lines)): Fixed 2363, Known Affected 221, Known Not Affected 75. https://www.suse.com/security/cve/CVE-2024-6923/
ubuntu medium CVE-2024-6923 medium priority: Ubuntu including 11 source packages (python2.7, python3.10, …), 110 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 79, needs-triage 10, released 10, ignored 7, not-affected 4. https://ubuntu.com/security/CVE-2024-6923

Affected software / configurations for CVE-2024-6923

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2024-6923

URL Tags
https://github.com/python/cpython/commit/06f28dc236708f72871c64d4bc4b4ea144c50147
https://github.com/python/cpython/commit/097633981879b3c9de9a1dd120d3aa585ecc2384
https://github.com/python/cpython/commit/4766d1200fdf8b6728137aa2927a297e224d5fa7
https://github.com/python/cpython/commit/4aaa4259b5a6e664b7316a4d60bdec7ee0f124d0
https://github.com/python/cpython/commit/b158a76ce094897c870fb6b3de62887b7ccc33f1
https://github.com/python/cpython/commit/f7be505d137a22528cb0fc004422c0081d5d90e6
https://github.com/python/cpython/commit/f7c0f09e69e950cf3c5ada9dbde93898eb975533
https://github.com/python/cpython/issues/121650
https://github.com/python/cpython/pull/122233
https://mail.python.org/archives/list/[email protected]/thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/
http://www.openwall.com/lists/oss-security/2024/08/01/3
http://www.openwall.com/lists/oss-security/2024/08/02/2
https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
https://lists.debian.org/debian-lts-announce/2025/01/msg00005.html
https://security.netapp.com/advisory/ntap-20240926-0003/
cvelogic Threat Intelligence