Low severity · published Feb 28, 2025
CVE-2025-1795
Mishandling of comma during folding and unicode-encoding of email headers
2.3
CVSS
0.6%
EPSS
No
On KEV
Description
During an address list folding when a separating comma ends up on a folded line and that line is to be unicode-encoded then the separator itself is also unicode-encoded. Expected behavior is that the separating comma remains a plan comma. This can result in the address header being misinterpreted by some mail servers.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.9.23; 3.10.0 before 3.10.17; 3.11.0 before 3.11.9; 3.12.0 before 3.12.3; 3.13.0a1 before 3.13.0a5 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-1795
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-1795
github.com
https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48
github.com
https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593
github.com
https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
github.com
https://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d
github.com
https://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090
github.com
https://github.com/python/cpython/issues/100884
More from CPython
9.4
CVE-2026-115557
Distrust compromised intermediate certificates in ssl module
9.4
CVE-2025-4517
Arbitrary writes via tarfile realpath overflow
9.2
CVE-2026-19445
Use-after-free of a server-side SSLContext when sni_callback switches contexts
8.8
CVE-2026-3298
Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
8.7
CVE-2024-8088
Infinite loop when iterating over zip archive entry names from zipfile.Path
