CVE-2025-1795
EPSS 0.75%Mishandling of comma during folding and unicode-encoding of email headers
Published: 2/28/2025Modified: 4/28/2026
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.
Affected packages (7)
- Bitnami/libpythonfrom 0, < 3.9.23, >= 3.10.0, < 3.10.17, >= 3.11.0, < 3.11.9, >= 3.12.0, < 3.12.3
- Bitnami/pythonfrom 0, < 3.9.23, >= 3.10.0, < 3.10.17, >= 3.11.0, < 3.11.9, >= 3.12.0, < 3.12.3
- Bitnami/python-minfrom 0, < 3.9.23, >= 3.10.0, < 3.10.17, >= 3.11.0, < 3.11.11, >= 3.12.0, < 3.12.8
- Debian/pypy3from 0, < 7.3.5+dfsg-2+deb11u5
- Debian/python3.11from 0, < 3.11.2-6+deb12u6
- Debian/python3.13from 0, < 3.13.0~b1-1
- Debian/python3.9from 0, < 3.9.2-1+deb11u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
References (12)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-1795
- WEBhttps://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48
- WEBhttps://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593
- WEBhttps://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
- WEBhttps://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d
- WEBhttps://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090
- WEBhttps://github.com/python/cpython/issues/100884
- WEBhttps://github.com/python/cpython/pull/100885
- WEBhttps://github.com/python/cpython/pull/119099
- WEBhttps://lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- WEBhttps://mail.python.org/archives/list/[email protected]/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-1795