CVE-2025-1795: Mishandling of comma during folding and unicode-encoding of email headers
Vulnerability summary
CVE-2025-1795 is a low (CVSS 2.3) Improper Encoding or Escaping of Output vulnerability in python software foundation cpython. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 50.1% of scored vulnerabilities.
Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 5Timeline
- 28-02-2025PublishedVulnerability first disclosed.
- 31-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated2.3LowCVSS: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
- OSV · WolfiEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.3LowCVSS: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
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.63% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse9 products
- python311-core&distro=openSUSE Leap 15.6< 3.11.11-150600.3.21.1
- python311-documentation&distro=openSUSE Leap 15.6< 3.11.11-150600.3.21.1
- python311&distro=openSUSE Leap 15.6< 3.11.11-150600.3.21.1
- python311&distro=openSUSE Tumbleweed< 3.11.11-4.1
- python312-core&distro=openSUSE Leap 15.6< 3.12.9-150600.3.21.1
Ubuntu9 products
- python3.10< 3.10.12-1~22.04.10
- python3.11< 3.11.0~rc1-1~22.04.1~esm4
- python3.12< 3.12.3-1ubuntu0.6
- python3.4All versions (No fix recorded)
- python3.5All versions (No fix recorded)
Suse7 products
- python311-core&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 3.11.11-150600.3.21.1
- python311-core&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.11.11-150400.9.49.1
- python311-core&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 3.11.11-150600.3.21.1
- python311&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.11.11-150400.9.49.1
- python311&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 3.11.11-150600.3.21.1
Debian3 products
- pypy3All versions (No fix recorded) | < 7.3.18+dfsg-1
- python3.11< 3.11.2-6+deb12u6
- python3.13< 3.13.0~b1-1
Chainguard2 products
- python-3.10< 3.10.17-r0
- python-3.9< 3.9.25-r0
Python software foundation1 product
- cpython< 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
Wolfi1 product
- python-3.10< 3.10.17-r0
7 vendors · 32 products
References
26 links- mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/Vendor AdvisoryREPORTAdvisory
Show all 26 references
- github.com/python/cpythonPACKAGE
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory