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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.