What’s Vulnerable › Vulnerabilities

CVE-2025-1795: Mishandling of comma during folding and unicode-encoding of email headers

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.

Affected products

How to fix

Upgrade to a fixed version: Python 3.10.17, 3.11.9, 3.12.3, 3.13.0a5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-1795 or the next vulnerability affects your stack