Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee4
- https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b859
- https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a7
- https://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03
- https://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c09
- https://github.com/python/cpython/issues/100884
- https://github.com/python/cpython/pull/100885
- https://github.com/python/cpython/pull/119099
- https://mail.python.org/archives/list/[email protected]/thread/MB62IZ
- https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
FAQ
What is CVE-2025-1795?
CVE-2025-1795 is a documented vulnerability. 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 ...
How severe is CVE-2025-1795?
CVSS scoring is not yet available for CVE-2025-1795. Check NVD for updates.
Is there a patch for CVE-2025-1795?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.