Skip to main content
EPSS 0.1%top 96%

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

0
Low
VulnerabilityCVE-2025-6075cvecve-2025-6075
Published: 10/31/2025 (10/31/2025, 16:41:34 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

Description

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

CVSS v4.0

Score 1.8low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/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=3.14.0=3.15.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/02/2026, 19:48:09 UTC

Technical Analysis

The vulnerability in CPython arises when os.path.expandvars() is called with user-controlled input, leading to possible performance degradation during environment variable expansion. This is classified under CWE-400 (Uncontrolled Resource Consumption). The CVSS 4.0 base score is 1.8, indicating low severity. There are no known exploits in the wild, and no patch or official fix information is provided in the available data. The affected versions explicitly include CPython 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, and 3.15.0a1.

Potential Impact

The impact is limited to performance degradation when expanding environment variables using os.path.expandvars() with user-controlled input. There is no indication of code execution, data loss, or privilege escalation. The vulnerability could potentially be used to cause resource exhaustion or slowdowns in affected applications.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing untrusted or user-controlled input to os.path.expandvars() to mitigate potential performance issues.

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

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2025-06-13T15:05:20.139Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6904e98dae52ebddb37144c0

Added to database: 10/31/2025, 16:53:33 UTC

Last enriched: 08/02/2026, 19:48:09 UTC

Last updated: 09/10/2026, 19:24:57 UTC

Views: 540

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