---
id: CVE-2025-1795
title: >-
  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
summary: >-
  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…
severity: none
cwe:
  - CWE-116
published: '2025-02-28'
updated: '2026-07-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1795'
references:
  - url: >-
      https://github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48
    label: cna@python.org
  - url: >-
      https://github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593
    label: cna@python.org
  - url: >-
      https://github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74
    label: cna@python.org
  - url: >-
      https://github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d
    label: cna@python.org
  - url: >-
      https://github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090
    label: cna@python.org
  - url: 'https://github.com/python/cpython/issues/100884'
    label: cna@python.org
  - url: 'https://github.com/python/cpython/pull/100885'
    label: cna@python.org
  - url: 'https://github.com/python/cpython/pull/119099'
    label: cna@python.org
  - url: >-
      https://mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/
    label: cna@python.org
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00013.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00628
epssPercentile: 0.48746
ingestedAt: '2026-07-30T23:56:34.324Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
