Skip to main content
EPSS 0.6%top 53%

CVE-2025-1795: Vulnerability in Python Software Foundation CPython

0
Low
VulnerabilityCVE-2025-1795cvecve-2025-1795gcvecwe-116
Published: 02/28/2025 (02/28/2025, 18:59:31 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

cpython
pkg:pypi/cpython
Affected versions
=3.10.0=3.11.0=3.12.0=3.13.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 14:59:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses