CVE-2024-6923: Python2.7 · There is a MEDIUM severity vulnerability affecting CPython
Affects python2.7Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 2.7.6-8ubuntu0.6+esm21 : update python2.7 when convenient.
Data as of 24 Nov 2026, 19:25 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 5.5 |
|---|
- Patch
- Available – fixed in 2.7.6-8ubuntu0.6+esm21, 2.7.12-1ubuntu0~16.04.18+esm12, 2.7.17-1~18.04ubuntu1.13+esm7 +5
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpython3.12pkg:deb/ubuntu/python3.12?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpython3.10pkg:deb/ubuntu/python3.10?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpython3.8pkg:deb/ubuntu/python3.8?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-6923 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-6923 (opens in a new tab)
- github.com/python/cpython/pull/122233 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/QH3BUOE2DYQBWP7NAQ7UNHPPOELKISRW/ (opens in a new tab)
- ubuntu.com/security/notices/USN-7015-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7015-5 (opens in a new tab)