Ubuntu CVE Tracker
UBUNTU-CVE-2025-1795
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python3.4 | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | python3.5 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python3.6 | All versions before 3.6.9-1~18.04ubuntu1.13+esm5 (fixed in 3.6.9-1~18.04ubuntu1.13+esm5) |
| Ubuntu:Pro:18.04:LTS | python3.7 | All versions before 3.7.5-2ubuntu1~18.04.2+esm6 (fixed in 3.7.5-2ubuntu1~18.04.2+esm6) |
| Ubuntu:Pro:18.04:LTS | python3.8 | All versions before 3.8.0-3ubuntu1~18.04.2+esm5 (fixed in 3.8.0-3ubuntu1~18.04.2+esm5) |
| Ubuntu:Pro:20.04:LTS | python3.8 | All versions before 3.8.10-0ubuntu1~20.04.18+esm1 (fixed in 3.8.10-0ubuntu1~20.04.18+esm1) |
| Ubuntu:Pro:20.04:LTS | python3.9 | All versions before 3.9.5-3ubuntu0~20.04.1+esm5 (fixed in 3.9.5-3ubuntu0~20.04.1+esm5) |
| Ubuntu:22.04:LTS | python3.10 | All versions before 3.10.12-1~22.04.10 (fixed in 3.10.12-1~22.04.10) |
| Ubuntu:Pro:22.04:LTS | python3.11 | All versions before 3.11.0~rc1-1~22.04.1~esm4 (fixed in 3.11.0~rc1-1~22.04.1~esm4) |
| Ubuntu:24.04:LTS | python3.12 | All versions before 3.12.3-1ubuntu0.6 (fixed in 3.12.3-1ubuntu0.6) |
References
- https://ubuntu.com/security/CVE-2025-1795
- https://www.cve.org/CVERecord?id=CVE-2025-1795
- https://mail.python.org/archives/list/[email protected]/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/
- https://github.com/python/cpython/pull/100885
- https://github.com/python/cpython/pull/119099
- https://ubuntu.com/security/notices/USN-7570-1