Skip to main content
Public proof of conceptFix available

CVE-2024-6923

A public proof of concept exists; no exploitation attested.

  • Published2024-08-01
  • Fixed in3.12.5 · 3.11.10 · 3.10.15 · 3.9.20 · 3.8.20
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-08-0114:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-25 03:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-6923?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-6923?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
libpython
BranchAffectedFixed in
3.12≥ 3.12.0, < 3.12.53.12.5
3.11≥ 3.11.0, < 3.11.103.11.10
3.10≥ 3.10.0, < 3.10.153.10.15
3.9≥ 3.9.0, < 3.9.203.9.20
3.8< 3.8.203.8.20
python
BranchAffectedFixed in
3.12≥ 3.12.0, < 3.12.53.12.5
3.11≥ 3.11.0, < 3.11.103.11.10
3.10≥ 3.10.0, < 3.10.153.10.15
3.9≥ 3.9.0, < 3.9.203.9.20
3.8< 3.8.203.8.20
python-min
BranchAffectedFixed in
3.12≥ 3.12.0, < 3.12.53.12.5
3.11≥ 3.11.0, < 3.11.103.11.10
3.10≥ 3.10.0, < 3.10.153.10.15
3.9≥ 3.9.0, < 3.9.203.9.20
3.8< 3.8.203.8.20

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • platform-pythonAlmaLinux:8all versions · fixed in 3.6.8-67.el8_10.alma.1and 6 other packages
  • python3AlmaLinux:9all versions · fixed in 3.9.18-3.el9_4.5and 7 other packages
  • python3.11AlmaLinux:9all versions · fixed in 3.11.7-1.el9_4.5and 6 other packages
  • python3.11AlmaLinux:8all versions · fixed in 3.11.9-7.el8_10and 7 other packages
  • python3.12AlmaLinux:9all versions · fixed in 3.12.1-4.el9_4.3and 6 other packages
  • python3.12AlmaLinux:8all versions · fixed in 3.12.5-2.el8_10and 7 other packages
  • python39AlmaLinux:8all versions · fixed in 3.9.19-7.module_el8.10.0+3885+d986a391and 7 other packages
  • python39-attrsAlmaLinux:8all versions · fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1

39 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update libpython to 3.12.5 · 3.11.10 · 3.10.15 · 3.9.20 · 3.8.20

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Published
2024-08-01
Last Modified
2026-06-17
NVD status
Deferred

Frequently asked questions

What is CVE-2024-6923?

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.

Is CVE-2024-6923 actively exploited?

A proof-of-concept exploit exists for CVE-2024-6923, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-6923?

CVE-2024-6923 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.

Running python39? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month