CVE-2025-1795: Mishandling of comma during folding and unicode-encoding of email headers
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.
Other sources
Mishandling of comma during folding and unicode-encoding of email headers
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.9.19-12 - Upgrade
Upgrade
debian/pypy3to a version that resolves this vulnerability.Fixed in 7.3.18+dfsg-1 - Upgrade
Upgrade
debian/python3.11to a version that resolves this vulnerability.Fixed in 3.11.2-6+deb12u6 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.0~b1-1 - Upgrade
Upgrade
debian/pypy3to a version that resolves this vulnerability.Fixed in 7.3.19+dfsg-2Fixed in 8.0.1+dfsg-1 - Upgrade
Upgrade
debian/python3.11to a version that resolves this vulnerability.Fixed in 3.11.2-6+deb12u8Fixed in 3.11.2-6+deb12u9 - Upgrade
Upgrade
debian/python3.13to a version that resolves this vulnerability.Fixed in 3.13.5-2+deb13u5Fixed in 3.13.18-1 - Upgrade
Upgrade
ubuntu/python3.6to a version that resolves this vulnerability.Fixed in 3.6.9-1~18.04ubuntu1.13+esm5 - Upgrade
Upgrade
ubuntu/python3.7to a version that resolves this vulnerability.Fixed in 3.7.5-2ubuntu1~18.04.2+esm6 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.0-3ubuntu1~18.04.2+esm5 - Upgrade
Upgrade
ubuntu/python3.8to a version that resolves this vulnerability.Fixed in 3.8.10-0ubuntu1~20.04.18+esm1 - Upgrade
Upgrade
ubuntu/python3.9to a version that resolves this vulnerability.Fixed in 3.9.5-3ubuntu0~20.04.1+esm5 - Upgrade
Upgrade
ubuntu/python3.10to a version that resolves this vulnerability.Fixed in 3.10.12-1~22.04.10 - Upgrade
Upgrade
ubuntu/python3.11to a version that resolves this vulnerability.Fixed in 3.11.0~rc1-1~22.04.1~esm4 - Upgrade
Upgrade
ubuntu/python3.12to a version that resolves this vulnerability.Fixed in 3.12.3-1ubuntu0.6
Event History
Frequently Asked Questions
What is the severity of CVE-2025-1795?
The severity of CVE-2025-1795 is currently classified as moderate due to the impact on email header processing.
How do I fix CVE-2025-1795?
To fix CVE-2025-1795, ensure you update to the latest versions of the affected software, including any provided patches.
What software is affected by CVE-2025-1795?
CVE-2025-1795 affects Microsoft cbl2 python3 versions 3.9.19-12 and 3.9.19-13.
What type of vulnerability is CVE-2025-1795?
CVE-2025-1795 is a vulnerability that involves the mishandling of commas during the folding and unicode-encoding of email headers.
What could happen if CVE-2025-1795 is exploited?
Exploitation of CVE-2025-1795 may lead to incorrect email header interpretation, potentially affecting email delivery and processing.