CVE-2025-1795
During an address list folding when a separating comma ends up on a …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48
- github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593
- github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
- github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d
- github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090
- github.com/python/cpython/issues/100884
- github.com/python/cpython/pull/100885
- github.com/python/cpython/pull/119099
- nvd.nist.gov/vuln/detail/CVE-2025-1795
- cve.org/CVERecord?id=CVE-2025-1795
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.