CVE Vulnerabilities

CVE-2025-6075

Uncontrolled Resource Consumption

Published: Oct 31, 2025 | Modified: Dec 01, 2025
CVSS 3.x
N/A
Source:
NVD
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

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

Name Vendor Start Version End Version
Python3.10 Ubuntu jammy *
Python3.11 Ubuntu esm-apps/jammy *
Python3.11 Ubuntu jammy *
Python3.12 Ubuntu noble *
Python3.13 Ubuntu plucky *
Python3.13 Ubuntu questing *
Python3.4 Ubuntu esm-infra-legacy/trusty *
Python3.5 Ubuntu esm-infra-legacy/trusty *
Python3.5 Ubuntu esm-infra/xenial *
Python3.6 Ubuntu esm-infra/bionic *
Python3.7 Ubuntu esm-apps/bionic *
Python3.8 Ubuntu esm-apps/bionic *
Python3.8 Ubuntu esm-infra/focal *
Python3.9 Ubuntu esm-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