Python CPython up to 3.14.x os.path.expandvars resource consumption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.3$0-$5k0.00

Summaryinfo

A vulnerability has been found in Python CPython up to 3.14.x and classified as problematic. The impacted element is the function os.path.expandvars. This manipulation causes resource consumption. This vulnerability is registered as CVE-2025-6075. The attack needs to be launched locally. No exploit is available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Python CPython up to 3.14.x. It has been declared as problematic. Affected by this vulnerability is the function os.path.expandvars. The manipulation with an unknown input leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources. As an impact it is known to affect availability. The summary by CVE is:

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

The advisory is shared at github.com. This vulnerability is known as CVE-2025-6075 since 06/13/2025. The exploitation appears to be easy. An attack has to be approached locally. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 272130 (Linux Distros Unpatched Vulnerability : CVE-2025-6075), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 3.15.0 eliminates this vulnerability. Applying the patch 2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (272130) and CERT Bund (WID-SEC-2025-2468). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Fedora Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source Python
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.3

VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Resource consumption
CWE: CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 272130
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-6075

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: CPython 3.15.0
Patch: 2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c

Timelineinfo

06/13/2025 CVE reserved
10/31/2025 +140 days Advisory disclosed
10/31/2025 +0 days VulDB entry created
04/24/2026 +175 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 136065
Status: Confirmed

CVE: CVE-2025-6075 (🔒)
GCVE (CVE): GCVE-0-2025-6075
GCVE (VulDB): GCVE-100-330865
CERT Bund: WID-SEC-2025-2468 - CPython: Schwachstelle ermöglicht Denial of Service

Entryinfo

Created: 10/31/2025 22:54
Updated: 04/24/2026 14:05
Changes: 10/31/2025 22:54 (71), 11/01/2025 06:54 (2), 11/03/2025 15:31 (7), 12/21/2025 05:10 (1), 02/02/2026 10:43 (1), 02/05/2026 00:34 (11), 04/24/2026 14:05 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!