CVE-2025-1795: Vulnerability in Python Software Foundation CPython
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.
AI Analysis
Technical Summary
The vulnerability occurs during address list folding in CPython when a separating comma ends a folded line that is then unicode-encoded. Instead of preserving the comma as a plain ASCII character, the implementation encodes the comma as a unicode character. This behavior deviates from expected standards and can cause some mail servers to misinterpret the address header. The issue affects CPython versions 3.10.0, 3.11.0, 3.12.0, 3.13.0, and 3.13.0a1. The CVSS 4.0 base score is 2.3, indicating low severity, with network attack vector, high attack complexity, and partial attack requirements.
Potential Impact
The impact is limited to potential misinterpretation of email address headers by some mail servers due to the incorrect unicode encoding of a separating comma. This may affect email processing but does not directly lead to code execution, privilege escalation, or data disclosure. No known exploits are reported in the wild.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Given the low severity and nature of the issue, no urgent mitigation actions are indicated at this time.
CVE-2025-1795: Vulnerability in Python Software Foundation CPython
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.
CVSS v4.0
Score 2.3low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability occurs during address list folding in CPython when a separating comma ends a folded line that is then unicode-encoded. Instead of preserving the comma as a plain ASCII character, the implementation encodes the comma as a unicode character. This behavior deviates from expected standards and can cause some mail servers to misinterpret the address header. The issue affects CPython versions 3.10.0, 3.11.0, 3.12.0, 3.13.0, and 3.13.0a1. The CVSS 4.0 base score is 2.3, indicating low severity, with network attack vector, high attack complexity, and partial attack requirements.
Potential Impact
The impact is limited to potential misinterpretation of email address headers by some mail servers due to the incorrect unicode encoding of a separating comma. This may affect email processing but does not directly lead to code execution, privilege escalation, or data disclosure. No known exploits are reported in the wild.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the Python Software Foundation advisory for current remediation guidance. Given the low severity and nature of the issue, no urgent mitigation actions are indicated at this time.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- PSF
- Date Reserved
- 2025-02-28T18:49:37.957Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6908cdd1bdcf00867c4fc65b
Added to database: 11/03/2025, 15:44:17 UTC
Last enriched: 08/07/2026, 14:59:27 UTC
Last updated: 09/10/2026, 19:36:49 UTC
Views: 219
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.