CVE-2025-1795: low-severity vulnerability in Python Software Foundation CPython
Mishandling of comma during folding and unicode-encoding of email headers
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
8Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 2.3epss 0.6%
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.
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Affected products
Python Software Foundation · CPythonRelated CVEs — Python Software Foundation CPython
In the same product, most dangerous first.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-6232HIGHRegular-expression DoS when parsing TarFile headersEPSS 2.2%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.6%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%
References
https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74https://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03dhttps://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090https://github.com/python/cpython/issues/100884https://github.com/python/cpython/pull/100885https://github.com/python/cpython/pull/119099https://lists.debian.org/debian-lts-announce/2025/03/msg00013.htmlhttps://mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/