If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
CVE-2025-6075
This medium-severity CVE scores 5.5 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 96% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.5
- EG Score
- 5.5(medium)
- EG Risk
- 25(Track)EG Risk 25/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity55% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 4%
- KEV
- Not listed
Published
October 31, 2025
Last Modified
July 31, 2026
Advisory Details (9)
Auto-updated Jul 30, 2026commit 5dceb9348617 (python/cpython)
Fix landed in python/cpython commit 5dceb9348617 — awaiting tagged release
https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427commit f029e8db626d (python/cpython)
Fix landed in python/cpython commit f029e8db626d — awaiting tagged release
https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5ccommit c8a5f3435c34 (python/cpython)
Fix landed in python/cpython commit c8a5f3435c34 — awaiting tagged release
https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1bacommit 9ab89c026aa9 (python/cpython)
Fix landed in python/cpython commit 9ab89c026aa9 — awaiting tagged release
https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742commit 892747b4cf0f (python/cpython)
Fix landed in python/cpython commit 892747b4cf0f — awaiting tagged release
https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebcacommit 631ba3407e33 (python/cpython)
Fix landed in python/cpython commit 631ba3407e33 — awaiting tagged release
https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84commit 2e6150adccaa (python/cpython)
Fix landed in python/cpython commit 2e6150adccaa — awaiting tagged release
https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8cMailman 3 [CVE-2025-6075] Quadratic complexity in os.path.expandvars() with user-controlled template - Security-announce - python.org
https://mail.python.org/archives/list/[email protected]/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/Potential Quadratic Complexity Vulnerabilities in `path` Modules · Issue #136065 · python/cpython · GitHub
https://github.com/python/cpython/issues/136065Vendor Advisories for CVE-2025-6075(14)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:58981Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Update Infrastructure 5.3 Technology Preview security update
- RHSA-2026:21275Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Update Infrastructure 5.1 security update
- RHSA-2026:19177Red Hat Product SecurityHigh
Red Hat Security Advisory: python3.12 security update
- RHSA-2026:19064Red Hat Product SecurityHigh
Red Hat Security Advisory: python3.12 security update
- RHSA-2026:10950Red Hat Product SecurityHigh
Red Hat Security Advisory: python3.12 security update
- RHSA-2026:8824Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:8822Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:7661Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- +6 more
Patch Availability(16)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3.13-venv (3.13.7-1ubuntu0.1) @ questing | 2026-07-31 | ubuntu |
| ubuntu | python3.9-venv (3.9.5-3ubuntu0~20.04.1+esm7) @ focal | 2026-07-31 | ubuntu |
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.13+esm24) @ xenial | 2026-07-31 | ubuntu |
| redhat | rhui5/rhua-rhel9:1779798222 | 2026-05-27 | redhat |
| redhat | python3.12-0:3.12.13-2.el9_8 | 2026-05-19 | redhat |
| redhat | python3.12-0:3.12.13-2.el10_2 | 2026-05-19 | redhat |
| redhat | python3.12-0:3.12.13-2.el8_10 | 2026-04-27 | redhat |
| redhat | python3-11-main-3.11.15-4.hum1 | 2026-04-17 | redhat |
| redhat | python3-12-main-3.12.13-3.hum1 | 2026-04-17 | redhat |
| redhat | python3-14-main-3.14.4-1.hum1 | 2026-04-11 | redhat |
| redhat | python3-13-main-3.13.13-1.hum1 | 2026-04-10 | redhat |
| redhat | rhceph/rhceph-8-rhel9:1769512383 | 2026-02-02 | redhat |
| redhat | rhui5/rhua-rhel9:1768377012 | 2026-01-15 | redhat |
| redhat | discovery/discovery-ui-rhel9:1767904573 | 2026-01-08 | redhat |
| redhat | python39-devel:3.9-8100020251126112422.d47b87a4 | 2025-12-18 | redhat |
| redhat | python3.9-0:3.9.25-2.el9_7 | 2025-12-18 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(9 across 4 ecosystems)
Debian:14(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pypy3 | 7.3.19+dfsg-2, 7.3.20+dfsg-1, 7.3.20+dfsg-2, 7.3.20+dfsg-3, 7.3.20+dfsg-4 | 7.3.21+dfsg-1 | — |
| python3.13 | 3.13.5-2, 3.13.6-1, 3.13.7-1, 3.13.8-1, 3.13.9-1 | 3.13.11-1 | — |
| python3.14 | 3.14.0-1 ... 3.14.0~rc3-1 (13 versions) | 3.14.2-1 | — |
Debian:11(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pypy3 | 7.3.10+dfsg-1 ... 7.3.9+dfsg-5 (53 versions) | — | — |
| python3.9 | 3.9.2-1, 3.9.2-1+deb11u1, 3.9.2-1+deb11u2, 3.9.2-1+deb11u3 | 3.9.2-1+deb11u4 | — |
Debian:12(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pypy3 | 7.3.11+dfsg-2 ... 7.3.23+dfsg-1 (29 versions) | — | — |
| python3.11 | 3.11.2-6 ... 3.11.2-6+deb12u6 (7 versions) | 3.11.2-6+deb12u7 | — |
Debian:13(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pypy3 | 7.3.19+dfsg-2 ... 7.3.23+dfsg-1 (11 versions) | — | — |
| python3.13 | 3.13.5-2 | 3.13.5-2+deb13u1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(4)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 6× in last 7d / 28× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 140 total refreshes for this CVE.
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 14:45 UTCEPSS rescore
- 2026-08-25 13:48 UTCEPSS rescore
- 2026-08-24 14:16 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 21:07 UTCOSV refresh
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 16:36 UTCEPSS rescore
- 2026-08-07 16:27 UTCEPSS rescore
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 04:15 UTCEPSS rescore
- 2026-07-31 14:25 UTCVendor advisory
- 2026-07-31 14:25 UTCGHSA enrichment
- 2026-07-31 14:09 UTCVendor advisory
- 2026-07-31 14:09 UTCGHSA enrichment
- 2026-07-30 23:20 UTCVendor advisory
- 2026-07-30 23:20 UTCGHSA enrichment
- 2026-07-30 22:21 UTCEG score recompute
- 2026-07-30 22:21 UTCVendor advisory
- 2026-07-30 22:21 UTCGHSA enrichment
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 16:11 UTCOSV refresh
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:00 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 11:11 UTCOSV refresh
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
- CVE-2001-0011EG 10.0EPSS p94HIGH
- CVE-2001-0013EG 10.0EPSS p96HIGH
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2025-6075?
When was CVE-2025-6075 disclosed?
Is CVE-2025-6075 actively exploited?
What is the CVSS score of CVE-2025-6075?
How do I remediate CVE-2025-6075?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-6075
Is Your Infrastructure Affected by CVE-2025-6075?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.