Bug 2408891 (CVE-2025-6075) - CVE-2025-6075 python: Quadratic complexity in os.path.expandvars() with user-controlled template
Summary: CVE-2025-6075 python: Quadratic complexity in os.path.expandvars() with user-...
Keywords:
Status: NEW
Alias: CVE-2025-6075
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2413049 2413052 2413054 2413055 2413056 2413060 2413050 2413051 2413053 2413057 2413058 2413059 2413061
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-31 17:02 UTC by OSIDB Bzimport
Modified: 2025-12-22 09:32 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2025:23697 0 None None None 2025-12-18 20:15:29 UTC
Red Hat Product Errata RHBA-2025:23749 0 None None None 2025-12-22 01:25:38 UTC
Red Hat Product Errata RHBA-2025:23839 0 None None None 2025-12-22 09:32:48 UTC
Red Hat Product Errata RHSA-2025:23342 0 None None None 2025-12-18 12:23:15 UTC
Red Hat Product Errata RHSA-2025:23530 0 None None None 2025-12-18 01:16:13 UTC

Description OSIDB Bzimport 2025-10-31 17:02:11 UTC
If the value passed to os.path.expandvars() is user-controlled a 
performance degradation is possible when expanding environment 
variables.

Comment 2 Lumír Balhar 2025-11-25 13:34:19 UTC
The vulnerability was already fixed in all active branches, but the fixes are waiting to be released (except 3.9 and 3.15): https://github.com/python/cpython/issues/136065

Comment 3 errata-xmlrpc 2025-12-18 01:16:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:23530 https://access.redhat.com/errata/RHSA-2025:23530

Comment 4 errata-xmlrpc 2025-12-18 12:23:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:23342 https://access.redhat.com/errata/RHSA-2025:23342


Note You need to log in before you can comment on or make changes to this bug.