CVE Vulnerabilities

CVE-2025-6075

Uncontrolled Resource Consumption

Published: Oct 31, 2025 | Modified: Feb 04, 2026
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
4 LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
PythonPython*3.9.0 (excluding)
PythonPython3.13.1 (including)3.13.11 (excluding)
PythonPython3.14.0 (including)3.14.1 (excluding)
PythonPython3.15.0-alpha1 (including)3.15.0-alpha1 (including)
Red Hat Enterprise Linux 10RedHatpython3.12-0:3.12.13-2.el10_2*
Red Hat Enterprise Linux 8RedHatpython39:3.9-8100020251126112422.d47b87a4*
Red Hat Enterprise Linux 8RedHatpython39-devel:3.9-8100020251126112422.d47b87a4*
Red Hat Enterprise Linux 8RedHatpython3.12-0:3.12.13-2.el8_10*
Red Hat Enterprise Linux 9RedHatpython3.9-0:3.9.25-2.el9_7*
Red Hat Enterprise Linux 9RedHatpython3.12-0:3.12.13-2.el9_8*
Red Hat Enterprise Linux 9RedHatpython3.9-0:3.9.25-2.el9_7*
Red Hat Ceph Storage 8RedHatrhceph/rhceph-8-rhel9:1769512383*
Red Hat Discovery 2RedHatdiscovery/discovery-server-rhel9:1767888970*
Red Hat Discovery 2RedHatdiscovery/discovery-ui-rhel9:1767904573*
Red Hat Hardened ImagesRedHatpython3-13-main-3.13.13-1.hum1*
Red Hat Hardened ImagesRedHatpython3-14-main-3.14.4-1.hum1*
Red Hat Hardened ImagesRedHatpython3-11-main-3.11.15-4.hum1*
Red Hat Hardened ImagesRedHatpython3-12-main-3.12.13-3.hum1*
Red Hat Update Infrastructure 5RedHatrhui5/cds-rhel9:1768221107*
Red Hat Update Infrastructure 5RedHatrhui5/haproxy-rhel9:1768221100*
Red Hat Update Infrastructure 5RedHatrhui5/installer-rhel9:1768296285*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1768377012*
Red Hat Update Infrastructure 5RedHatrhui5/installer-rhel9:1779798165*
Red Hat Update Infrastructure 5RedHatrhui5/rhua-rhel9:1779798222*
Pypy3Ubuntuplucky*
Python2.7Ubuntuesm-infra/xenial*
Python3.10Ubuntujammy*
Python3.11Ubuntuesm-apps/jammy*
Python3.11Ubuntujammy*
Python3.12Ubuntunoble*
Python3.13Ubuntuplucky*
Python3.13Ubuntuquesting*
Python3.13Ubuntuupstream*
Python3.14Ubuntuupstream*
Python3.4Ubuntuesm-infra-legacy/trusty*
Python3.5Ubuntuesm-infra-legacy/trusty*
Python3.5Ubuntuesm-infra-legacy/xenial*
Python3.5Ubuntuesm-infra/xenial*
Python3.6Ubuntuesm-infra/bionic*
Python3.7Ubuntuesm-apps/bionic*
Python3.8Ubuntuesm-apps/bionic*
Python3.8Ubuntuesm-infra/focal*
Python3.9Ubuntuesm-apps/focal*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References