CVE-2025-1795: Python Software Foundation CPython · Vulnerability
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIcpythonpkg:pypi/cpythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Given the low severity and nature of the issue, no urgent mitigation actions are indicated at this time.
Description
CVE-2025-1795 is a low-severity vulnerability in the Python Software Foundation's CPython implementation. It involves incorrect handling of address list folding when a separating comma is at the end of a folded line that is unicode-encoded, causing the comma itself to be unicode-encoded instead of remaining a plain comma. This can lead to misinterpretation of the address header by some mail servers.
References
- github.com/python/cpython/issues/100884 (opens in a new tab)
- github.com/python/cpython/pull/100885 (opens in a new tab)
- github.com/python/cpython/pull/119099 (opens in a new tab)
- github.com/python/cpython/commit/09fab93c3d857496c0bd162797fab816c311ee48 (opens in a new tab)
- github.com/python/cpython/commit/70754d21c288535e86070ca7a6e90dcb670b8593 (opens in a new tab)
- github.com/python/cpython/commit/9148b77e0af91cdacaa7fe3dfac09635c3fe9a74 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/MB62IZMEC3UM6SGHP5LET5JX2Y7H4ZUR/ (opens in a new tab)
- github.com/python/cpython/commit/a4ef689ce670684ec132204b1cd03720c8e0a03d (opens in a new tab)
- github.com/python/cpython/commit/d4df3c55e4c5513947f907f24766b34d2ae8c090 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00013.html (opens in a new tab)