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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | PSF |
Weaknesses
- CWE-116 Improper Encoding or Escaping of Output
Affected Products
| Product | Versions |
|---|---|
CPythonPython Software Foundation |
|
References
- https://github.com/python/cpython/issues/100884issue-tracking
- https://github.com/python/cpython/pull/100885patch
- https://github.com/python/cpython/pull/119099patch
- https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48patch
- https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593patch
- https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/vendor-advisory
- https://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03dpatch
- https://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090patch
- https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
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.