Skip to main content
← All vulnerabilities
CVE-2025-1795

Mishandling of comma during folding and unicode-encoding of email headers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.23, 3.10.17, 3.11.9, 3.12.3, 3.13.0a5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.9.23; From 3.10.0 · fixed in 3.10.17; From 3.11.0 · fixed in 3.11.9; From 3.12.0 · fixed in 3.12.3; From 3.13.0a1 · fixed in 3.13.0a5

References 9

GitHub · python/cpython

mail.python.org