CVSS 4.0
1.8 lowCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NLow (1.8) in python python. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-6075 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6075?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6075?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6075 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Python Software Foundation CPython | before 3.9.25 |
| Python Software Foundation CPython | from 3.10.0 before 3.10.20 |
| Python Software Foundation CPython | from 3.11.0 before 3.11.15 |
| Python Software Foundation CPython | from 3.12.0 before 3.12.13 |
| Python Software Foundation CPython | from 3.13.0 before 3.13.10 |
| Python Software Foundation CPython | from 3.14.0 before 3.14.1 |
| Python Software Foundation CPython | from 3.15.0a1 before 3.15.0a2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python3.9 | 3.9.2-1+deb11u4 | DLA-4445-1 |
| Debian | 12 | python3.11 | 3.11.2-6+deb12u7 | DEBIAN-CVE-2025-6075 |
| Debian | 12, 13 | pypy3 | no fix listed | DEBIAN-CVE-2025-6075 |
| Debian | 13 | python3.13 | 3.13.5-2+deb13u1 | DEBIAN-CVE-2025-6075 |
| Debian | 14 | pypy3 | 7.3.21+dfsg-1 | DEBIAN-CVE-2025-6075 |
| Debian | 14 | python3.14 | 3.14.2-1 | DEBIAN-CVE-2025-6075 |
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS and 2 more | pypy3 | no fix listed | UBUNTU-CVE-2025-6075 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.12-1~22.04.12 | UBUNTU-CVE-2025-6075 USN-7886-1 |
| Ubuntu | 24.04:LTS | python3.12 | 3.12.3-1ubuntu0.9 | UBUNTU-CVE-2025-6075 USN-7886-1 |
| Ubuntu | 25.10 | pypy3, python3.14 | no fix listed | UBUNTU-CVE-2025-6075 |
| Ubuntu | 25.10 | python3.13 | 3.13.7-1ubuntu0.1 | UBUNTU-CVE-2025-6075 USN-7886-2 |
| Ubuntu | Pro:14.04:LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm17 | UBUNTU-CVE-2025-6075 USN-7886-1 |
| Ubuntu | Pro:14.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm8 | UBUNTU-CVE-2025-6075 USN-7886-1 |
| Ubuntu | Pro:14.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 more | python2.7 | no fix listed | UBUNTU-CVE-2025-6075 |
| Ubuntu | Pro:16.04:LTS | python2.7 | 2.7.12-1ubuntu0~16.04.18+esm21 | UBUNTU-CVE-2025-6075 USN-8614-1 |
| Ubuntu | Pro:16.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm20 | UBUNTU-CVE-2025-6075 USN-7886-1 USN-8614-1 |
| Ubuntu | Pro:18.04:LTS | python3.6 | 3.6.9-1~18.04ubuntu1.13+esm7 | UBUNTU-CVE-2025-6075 USN-7886-1 |
| Ubuntu | Pro:18.04:LTS | python3.7 | 3.7.5-2ubuntu1~18.04.2+esm8 | UBUNTU-CVE-2025-6075 USN-7886-1 |
| 4 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::appstream | PyYAML, python39-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python39-mod_wsgi | 0:4.7.1-7.module+el8.10.0+23075+0aa18782.1 | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | numpy, python39-numpy, numpy-debugsource and 3 more | 0:1.19.4-3.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python39-PyMySQL | 0:0.10.1-2.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-cffi, python39-cffi, python-cffi-debugsource and 1 more | 0:1.14.3-2.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python39-chardet | 0:3.0.4-19.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-cryptography, python39-cryptography, python-cryptography-debugsource and 1 more | 0:3.3.1-3.module+el8.10.0+21271+eccd1d86 | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-idna, python39-idna | 0:2.10-4.module+el8.10.0+21815+bb024982 | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-lxml, python39-lxml, python-lxml-debugsource and 1 more | 0:4.6.5-1.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-ply, python39-ply | 0:3.11-10.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-psutil, python39-psutil, python-psutil-debugsource and 1 more | 0:5.8.0-4.module+el8.9.0+19644+d68f775d | RHSA-2025:23530 |
| Red Hat | enterprise_linux:8::appstream | python-psycopg2, python39-psycopg2, python39-psycopg2-doc and 3 more | 0:2.8.6-3.module+el8.10.0+21142+453d2b75 | RHSA-2025:23530 |
| 39 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | python311, python311-core, python311-documentation | 3.11.14-150400.9.69.1 | SUSE-SU-2025:4257-2 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | python311, python311-core, python311-documentation | 3.11.15-150400.9.80.1 | SUSE-SU-2026:1117-1 |
| SUSE | Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 3 more | python3, python3-core | 3.6.15-150300.10.100.1 | SUSE-SU-2025:4368-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 | python311-core | 3.11.14-150600.3.38.1 | SUSE-SU-2025:4297-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | python311-core | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7 | python3-core | 3.6.15-150300.10.100.1 | SUSE-SU-2025:4368-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7 | python | 2.7.18-150000.89.1 | SUSE-SU-2025:4389-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7 | python-base | 2.7.18-150000.89.2 | SUSE-SU-2025:4389-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP7 | python, python-base | 2.7.18-150000.94.1 | SUSE-SU-2026:0268-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP7 | python, python-base | 2.7.18-150000.99.1 | SUSE-SU-2026:0337-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4 | python311, python311-core | 3.11.14-150400.9.69.1 | SUSE-SU-2025:4257-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4 | python311, python311-core | 3.11.15-150400.9.80.1 | SUSE-SU-2026:1117-1 |
| 13 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | python, python-doc | 2.7.18-150000.89.1 | SUSE-SU-2025:4389-1 |
| openSUSE | Leap 15.6 | python, python-doc, python-base | 2.7.18-150000.94.1 | SUSE-SU-2026:0268-1 |
| openSUSE | Leap 15.6 | python, python-doc, python-base | 2.7.18-150000.99.1 | SUSE-SU-2026:0337-1 |
| openSUSE | Leap 15.6 | python-base | 2.7.18-150000.89.2 | SUSE-SU-2025:4389-1 |
| openSUSE | Leap 15.6 | python3, python3-core, python3-documentation | 3.6.15-150300.10.100.1 | SUSE-SU-2025:4368-1 |
| openSUSE | Leap 15.6 | python310, python310-core, python310-documentation | 3.10.19-150400.4.91.3 | SUSE-SU-2025:4352-1 |
| openSUSE | Leap 15.6 | python311, python311-core, python311-documentation | 3.11.14-150600.3.38.1 | SUSE-SU-2025:4297-1 |
| openSUSE | Leap 15.6 | python311, python311-core, python311-documentation | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| openSUSE | Leap 15.6 | python312, python312-core, python312-documentation | 3.12.12-150600.3.37.1 | SUSE-SU-2025:4258-1 |
| openSUSE | Leap 15.6 | python39, python39-core, python39-documentation | 3.9.24-150300.4.84.1 | SUSE-SU-2025:4221-1 |
| openSUSE | Leap 16.0 | python313, python313-core, python313-nogil and 2 more | 3.13.11-160000.1.1 | openSUSE-SU-2026:20081-1 |
| openSUSE | Tumbleweed | python310 | 3.10.19-2.1 | openSUSE-SU-2025:15768-1 |
| 6 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | python3.12, python3.12-idle, python3.12-libs and 5 more | 3.12.13-2.el8_10 | ALSA-2026:10950 |
| AlmaLinux | 8 | python39, python39-idle, python39-libs and 5 more | 3.9.25-2.module_el8.10.0+4083+53cad1fb | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-Cython | 0.29.21-5.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-cffi | 1.14.3-2.module_el8.6.0+3248+c431e88c | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-cryptography | 3.3.1-3.module_el8.10.0+3765+2f9a457d | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-idna | 2.10-4.module_el8.10.0+3849+a48d89aa | ALSA-2025:23530 |
| AlmaLinux | 8 | python39-iniconfig | 1.1.1-2.module_el8.6.0+2780+a40f65e1 | ALSA-2025:23530 |
| 33 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1582+bc278001 | RLSA-2025:23530 |
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1860+afcc1c71 | RLSA-2025:23530 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1582+bc278001 | RLSA-2025:23530 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1860+afcc1c71 | RLSA-2025:23530 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.9.0+1418+f0d66789 | RLSA-2025:23530 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1582+bc278001 | RLSA-2025:23530 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1860+afcc1c71 | RLSA-2025:23530 |
| Rocky Linux | 8 | mod_wsgi | 0:4.7.1-7.module+el8.10.0+1978+d4f111ba.1 | RLSA-2025:23530 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1582+bc278001 | RLSA-2025:23530 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1860+afcc1c71 | RLSA-2025:23530 |
| Rocky Linux | 8 | pybind11 | 0:2.7.1-1.module+el8.9.0+1357+a3b80af7 | RLSA-2025:23530 |
| Rocky Linux | 8 | pytest | 0:6.0.2-2.module+el8.10.0+1582+bc278001 | RLSA-2025:23530 |
| 59 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 2 | python3 | 3.9.19-17 | AZL-69625 |
| Azure Linux | 3 | python-py | no fix listed | AZL-109695 |
| Azure Linux | 3 | python3 | 3.12.9-6 | AZL-69628 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Low.
This vulnerability is rated Low rather than Moderate because it only causes a performance inefficiency without affecting code execution, data integrity, or confidentiality. The flaw lies in the algorithmic complexity of os.path.expandvars(), which can become quadratic when processing crafted input containing repetitive or nested environment variable references. Exploitation requires the attacker to control the input string passed to this function, which is uncommon in secure applications. Moreover, the impact is limited to increased CPU utilization and potential slowdown, not system compromise or data manipulation. Since the issue does not introduce memory corruption, privilege escalation, or information disclosure risks, its overall impact scope and exploitability are minimal, justifying a Low severity rating.
No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | python3.12-0:3.12.13-2.el10_2 | Fixed 2026-05-19 | RHSA-2026:19064 |
| Red Hat Enterprise Linux 8 | python39:3.9-8100020251126112422.d47b87a4 | Fixed 2025-12-18 | RHSA-2025:23530 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8100020251126112422.d47b87a4 | Fixed 2025-12-18 | RHSA-2025:23530 |
| Red Hat Enterprise Linux 8 | python3.12-0:3.12.13-2.el8_10 | Fixed 2026-04-27 | RHSA-2026:10950 |
| Red Hat Enterprise Linux 9 | python3.9-0:3.9.25-2.el9_7 | Fixed 2025-12-18 | RHSA-2025:23342 |
| Red Hat Enterprise Linux 9 | python3.12-0:3.12.13-2.el9_8 | Fixed 2026-05-19 | RHSA-2026:19177 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | python3.9-0:3.9.16-1.el9_2.15 | Fixed 2026-10-06 | RHSA-2026:76945 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | python3.9-0:3.9.18-3.el9_4.14 | Fixed 2026-09-30 | RHSA-2026:74087 |
| Red Hat Ceph Storage 8 | rhceph/rhceph-8-rhel9:1769512383 | Fixed 2026-02-02 | RHSA-2026:1652 |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9:1767888970 | Fixed 2026-01-08 | RHSA-2026:0414 |
| Red Hat Enterprise Linux 10 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 6 | python | Fix deferred | |
| Red Hat Enterprise Linux 7 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 7 | python | Fix deferred | |
| Red Hat Enterprise Linux 7 | python3 | Fix deferred | |
| Red Hat Enterprise Linux 8 | firefox | Fix deferred | |
| Red Hat Enterprise Linux 8 | python3 | Fix deferred | |
| Red Hat Enterprise Linux 8 | python3.11 | Fix deferred | |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Fix deferred | |
| Red Hat Enterprise Linux 9 | firefox | Fix deferred | |
| 24 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6075.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.