{"id":"CVE-2025-1795","published":"2025-02-28T18:59:31Z","modified":"2026-07-31T14:03:23Z","title":"Mishandling of comma during folding and unicode-encoding of email headers","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00628,"percentile":0.5102,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/python/cpython/issues/100884","tags":["issue-tracking"]},{"url":"https://github.com/python/cpython/pull/100885","tags":["patch"]},{"url":"https://github.com/python/cpython/pull/119099","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74","tags":["patch"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090","tags":["patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html","tags":[]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":10.2},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.9.23",">= 3.10.0, < 3.10.17",">= 3.11.0, < 3.11.9",">= 3.12.0, < 3.12.3",">= 3.13.0a1, < 3.13.0a5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-28T20:30:47.670593Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-5930","exploited":false,"provenance":"source"}}