CVE-2025-6075: python software foundation cpython Uncontrolled Resource Consumption
CVSS: 5.5v3.1MediumAnalyzed
AliasesSUSE-SU-2026:0337-1UBUNTU-CVE-2025-6075DEBIAN-CVE-2025-6075CGA-27f3-2f79-vj73CGA-28c5-8g9j-mcjrCGA-2wvx-2w83-vmwcCGA-7xhq-pvfp-j428CGA-cf2q-rh6v-4j4qCGA-f7xc-p35h-cv36CGA-v3gw-22qx-2wgvCGA-vf4f-pq29-9jqfCGA-wwg3-6ph7-2v4wCGA-xqfh-wx42-f3v7openSUSE-SU-2025:15791-1CGA-3h53-375v-rw6jCGA-f6rq-3c43-4ghq
Published 31-10-2025Last modified 31-07-2026
Vulnerability summary
CVE-2025-6075 is a medium (CVSS 5.5) Uncontrolled Resource Consumption vulnerability in python software foundation cpython. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.7% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
0.15%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 43 · Related 32DLA-4445-1OPENSUSE-SU-2025:15742-1OPENSUSE-SU-2025:15748-1OPENSUSE-SU-2025:15750-1OPENSUSE-SU-2025:15760-1OPENSUSE-SU-2025:15768-1OPENSUSE-SU-2025:15792-1OPENSUSE-SU-2026:20081-1RHSA-2025:23342RHSA-2025:23530RHSA-2026:10950RHSA-2026:19064RHSA-2026:19177RHSA-2026:74087RHSA-2026:7443RHSA-2026:7661RHSA-2026:76945RHSA-2026:8822RHSA-2026:8824SUSE-SU-2025:21199-1SUSE-SU-2025:21207-1SUSE-SU-2025:4221-1SUSE-SU-2025:4257-1SUSE-SU-2025:4257-2SUSE-SU-2025:4258-1SUSE-SU-2025:4277-1SUSE-SU-2025:4297-1SUSE-SU-2025:4352-1SUSE-SU-2025:4368-1SUSE-SU-2025:4389-1SUSE-SU-2025:4398-1SUSE-SU-2025:4487-1SUSE-SU-2026:0268-1SUSE-SU-2026:0663-1SUSE-SU-2026:1117-1SUSE-SU-2026:1349-1SUSE-SU-2026:20125-1SUSE-SU-2026:20154-1SUSE-SU-2026:20768-1SUSE-SU-2026:20796-1USN-7886-1USN-7886-2USN-8614-1CGA-3JXX-QMH5-7Q8P
Timeline
- 31-10-2025PublishedVulnerability first disclosed.
- 31-07-2026Last modifiedVulnerability information updated.
Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
CVSS metrics
8 scores · 6 sources · 2 versionsLow 1.8Preferred score · CVE.org (CNA)
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NSourcesAll 5 agree
- OSV · UbuntuEcosystem advisory · calculated1.8LowCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated1.8LowCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated1.8LowCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST1.8LowCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Medium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
+0.01 pp
From 0.14% on 19-09-2026
19-09-202619-10-2026
EPSS score0.15%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu13 products
- pypy3All versions (No fix recorded)
- python2.7All versions (No fix recorded) | < 2.7.12-1ubuntu0~16.04.18+esm21
- python3.10< 3.10.12-1~22.04.12
- python3.11< 3.11.0~rc1-1~22.04.1~esm6
- python3.12< 3.12.3-1ubuntu0.9
Chainguard6 products
- python-3.10< 3.10.19-r2
- python-3.11< 3.11.14-r2
- python-3.12< 3.12.12-r2
- python-3.13< 3.13.9-r2
- python-3.14< 3.14.0-r8
Wolfi5 products
- python-3.10< 3.10.19-r2
- python-3.11< 3.11.14-r2
- python-3.12< 3.12.12-r2
- python-3.13< 3.13.9-r2
- python-3.14< 3.14.0-r8
Debian4 products
- pypy3All versions (No fix recorded) | < 7.3.21+dfsg-1
- python3.11< 3.11.2-6+deb12u7
- python3.13< 3.13.5-2+deb13u1 | < 3.13.11-1
- python3.14< 3.14.2-1
Opensuse4 products
- python-base&distro=openSUSE Leap 15.6< 2.7.18-150000.99.1
- python-doc&distro=openSUSE Leap 15.6< 2.7.18-150000.99.1
- python315&distro=openSUSE Tumbleweed< 3.15.0~a1-2.1
- python&distro=openSUSE Leap 15.6< 2.7.18-150000.99.1
Suse2 products
- python-base&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.7.18-150000.99.1
- python&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7< 2.7.18-150000.99.1
Python1 product
- python< 3.9.0 | ≥ 3.13.1, < 3.13.11 | ≥ 3.14.0, < 3.14.1 | 3.15.0:alpha1
Python software foundation1 product
- cpython< 3.9.25 | ≥ 3.10.0, < 3.10.20 | ≥ 3.11.0, < 3.11.15 | ≥ 3.12.0, < 3.12.13 | ≥ 3.13.0, < 3.13.10 | ≥ 3.14.0, < 3.14.1 | ≥ 3.15.0a1, < 3.15.0a2
8 vendors · 36 products
References
21 links- mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/Vendor AdvisoryREPORTAdvisoryThird Party Advisory
Show all 21 references
- github.com/python/cpythonPACKAGE