Skip to content
Fencer Vulns
low 2.3

CVE-2025-1795 json

Mishandling of comma during folding and unicode-encoding of email headers

published 2025-02-28 20 mo ago modified 2026-07-31 3 mo ago also BIT-libpython-2025-1795 , BIT-python-2025-1795 , BIT-python-min-2025-1795 , EUVD-2025-5930

cvss
2.3
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 50%
public exploits
0
none known

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. This can result in the address header being misinterpreted by some mail servers.

Patch / fix

  • bitnami libpython 3.9.23, 3.10.17, 3.11.9, 3.12.3
  • bitnami python 3.9.23, 3.10.17, 3.11.9, 3.12.3
  • bitnami python-min 3.9.23, 3.10.17, 3.11.11, 3.12.8
  • Python Software Foundation CPython 3.9.23, 3.10.17, 3.11.9, 3.12.3, 3.13.0a5
  • pypy3 Debian 14, Debian 13 7.3.18+dfsg-1
  • python3.11 Debian 12 3.11.2-6+deb12u6
  • python3.13 Debian 13 3.13.0~b1-1

debian advisories DEBIAN-CVE-2025-1795

  • python3.10 Ubuntu 22.04 LTS 3.10.12-1~22.04.10
  • python3.12 Ubuntu 24.04 LTS 3.12.3-1ubuntu0.6
  • python3.6 Ubuntu Pro 18.04 LTS 3.6.9-1~18.04ubuntu1.13+esm5
  • python3.7 Ubuntu Pro 18.04 LTS 3.7.5-2ubuntu1~18.04.2+esm6
  • python3.8 Ubuntu Pro 18.04 LTS 3.8.0-3ubuntu1~18.04.2+esm5
  • python3.8 Ubuntu Pro 20.04 LTS 3.8.10-0ubuntu1~20.04.18+esm1
  • python3.9 Ubuntu Pro 20.04 LTS 3.9.5-3ubuntu0~20.04.1+esm5
  • python3.11 Ubuntu Pro 22.04 LTS 3.11.0~rc1-1~22.04.1~esm4

ubuntu advisories UBUNTU-CVE-2025-1795

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python313 SLE Module for Python 3 15 SP7 3.13.5-150700.4.11.1
  • python313-core SLE Module for Python 3 15 SP7 3.13.5-150700.4.11.1
  • python311 Linux Micro 6.1 3.11.12-slfo.1.1_1.1
  • python311-core Linux Micro 6.1 3.11.12-slfo.1.1_1.1
  • python311 SLE Module for Python 3 15 SP6, openSUSE Leap 15.6 3.11.11-150600.3.21.1
  • python311-core SLE Module for Python 3 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 3.11.11-150600.3.21.1
  • python311-documentation openSUSE Leap 15.6 3.11.11-150600.3.21.1
  • python311 SLE Module for Public Cloud 15 SP4 3.11.11-150400.9.49.1

suse advisories SUSE-SU-2025:02074-1SUSE-SU-2025:20374-1SUSE-SU-2025:0982-1SUSE-SU-2025:0981-1SUSE-SU-2025:20154-1SUSE-SU-2025:0883-1

  • python313 openSUSE Tumbleweed 3.13.2-3.1
  • python311 openSUSE Tumbleweed 3.11.11-4.1
  • python312 openSUSE Tumbleweed 3.12.9-2.1

opensuse advisories openSUSE-SU-2025:14885-1openSUSE-SU-2025:14872-1openSUSE-SU-2025:14873-1

  • python3 CBL-Mariner 2.0 3.9.19-13

azure linux advisories AZL-57675

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-1795 updated cvss 3.1

python: Mishandling of comma during folding and unicode-encoding of email headers

  • Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more Red Hat Enterprise Linux 8 numpy, scipy, PyYAML, python3, mod_wsgi, python36, +89 more Red Hat Enterprise Linux 9 python3, python3.9, python3.11, python3-idle, python3-libs, python3-test, +6 more Red Hat Enterprise Linux 10 python3.12
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9
    under investigation
  • Red Hat Enterprise Linux 9 python3.12, python3.12-idle, python3.12-libs, python3.12-test, python3.12-tkinter
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 2.3 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
CNA 4.0 2.3 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

Affected packages

ecosystem package affected fixed in
bitnami libpython
<3.9.23
>=3.10.0, <3.10.17
>=3.11.0, <3.11.9
>=3.12.0, <3.12.3
3.9.23
3.10.17
3.11.9
3.12.3
bitnami python
<3.9.23
>=3.10.0, <3.10.17
>=3.11.0, <3.11.9
>=3.12.0, <3.12.3
3.9.23
3.10.17
3.11.9
3.12.3
bitnami python-min
<3.9.23
>=3.10.0, <3.10.17
>=3.11.0, <3.11.11
>=3.12.0, <3.12.8
3.9.23
3.10.17
3.11.11
3.12.8

Affected products

  • Python Software Foundation CPython

Classification

Weakness
  • CWE-116 Improper Encoding or Escaping of Output

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.