CVE-2025-1795

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

State
Published
Severity
2.3 Low
Published
Feb 28, 2025
Updated
Jul 31, 2026
Reserved
Feb 28, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NPSF

Weaknesses

  • CWE-116 Improper Encoding or Escaping of Output

Affected Products

ProductVersions
CPythonPython Software Foundation
  • before 3.9.23Affected
  • 3.10.0 to before 3.10.17Affected
  • 3.11.0 to before 3.11.9Affected
  • 3.12.0 to before 3.12.3Affected
  • 3.13.0a1 to before 3.13.0a5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.