CVE-2025-1795: Python · Mishandling of comma during folding and unicode-encoding of email headers
Affects pythonSource GCVE Database
Not known to be exploited · CVSS 2.3 Low · fixed in 3.12.3 : update python when convenient.
Data as of 25 Nov 2026, 03:33 UTC
- Patch
- Available – fixed in 3.12.3, 3.11.9, 3.10.17 +1
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Feb 2025
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 24 Nov 2026.
What to do
Upgrade python to 3.12.3, 3.11.9, 3.10.17 or 3.9.23.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamipythonpkg:bitnami/pythonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in Python versions 3.9.23, 3.10.17, 3.11.9, and 3.12.3. Users should upgrade to these or later versions to resolve the issue. No additional mitigation steps are indicated.
Description
A vulnerability in Python's email header processing causes the separating comma in folded address lists to be unicode-encoded incorrectly. This misencoding can lead to some mail servers misinterpreting the address header. The issue affects multiple Python versions prior to fixed releases and has a low severity impact.
References
- github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48 (opens in a new tab)
- github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593 (opens in a new tab)
- github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74 (opens in a new tab)
- github.com/python/cpython/issues/100884 (opens in a new tab)
- github.com/python/cpython/pull/100885 (opens in a new tab)
- github.com/python/cpython/pull/119099 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/ (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-1795 (opens in a new tab)
- github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d (opens in a new tab)
- github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00013.html (opens in a new tab)