Python CPython up to 3.14.x os.path.expandvars resource consumption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.3 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Vendor
Name
Version
License
Website
- Product: https://github.com/python/cpython/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 4.4VulDB 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: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Resource consumptionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 272130
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-6075
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: CPython 3.15.0
Patch: 2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c
Timeline
06/13/2025 CVE reserved10/31/2025 Advisory disclosed
10/31/2025 VulDB entry created
04/24/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 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
Entry
Created: 10/31/2025 22:54Updated: 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.
No comments yet. Languages: en.
Please log in to comment.