Mail Header Misinterpretation in Python Caused by Incorrect Unicode Encoding
CVE-2025-1795
2.3LOW
What is CVE-2025-1795?
A vulnerability in Python’s handling of address list folding can cause a separating comma to be incorrectly unicode-encoded when it appears at the end of a folded line. This unexpected behavior may lead to mail servers misinterpreting the address header, potentially causing delivery issues or other unexpected results in email processing.
Affected Version(s)
CPython 0 < 3.11.9
CPython 3.12.0 < 3.12.3
CPython 3.13.0a1 < 3.13.0a5