Vulnerability in Python Software Foundation Cpython
CVE-2025-1795
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.
EPSS: 0.006 (45.2th percentile) — read the EPSS interpretation.
Affected products
- Python Software Foundation Cpython — versions 3.13.0a1, 3.10.0, 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cna@python.org (issue-tracking)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (patch)
- cna@python.org (vendor-advisory)
- cna@python.org (patch)
- cna@python.org (patch)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2025-1795?
- CVE-2025-1795 is a vulnerability in Python Software Foundation Cpython, classified under Improper Encoding or Escaping of Output. Published 2025-02-28.
- Is CVE-2025-1795 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.