CVE-2024-6923

Email header injection due to unquoted newlines

MEDIUM
5.5
CVSS Score
Published: August 1, 2024 at 01:40 PM UTC
Updated: June 17, 2026 at 08:18 AM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 1%
SSVC
PoC

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 3.13.0rc2v < 3.8.203.10.0 ≤ v < 3.10.153.11.0 ≤ v < 3.11.103.12.0 ≤ v < 3.12.53.13.0a1 ≤ v < 3.13.0rc23.9.0 ≤ v < 3.9.203.10.03.11.03.12.03.13.0a13.9.0
Affected range stops below 3.10.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.11.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.12.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.0rc2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.8.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.9.20, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-94

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card