{"id":"BIT-python-min-2025-6075","summary":"Quadratic complexity in os.path.expandvars() with user-controlled template","details":"If the value passed to os.path.expandvars() is user-controlled a \nperformance degradation is possible when expanding environment \nvariables.","aliases":["BIT-libpython-2025-6075","BIT-python-2025-6075","CVE-2025-6075","PSF-2025-13"],"modified":"2026-04-10T11:45:17.897531Z","published":"2025-12-05T11:13:36.962Z","database_specific":{"cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"],"severity":"Low"},"references":[{"type":"WEB","url":"https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c"},{"type":"WEB","url":"https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427"},{"type":"WEB","url":"https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84"},{"type":"WEB","url":"https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca"},{"type":"WEB","url":"https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742"},{"type":"WEB","url":"https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba"},{"type":"WEB","url":"https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c"},{"type":"WEB","url":"https://github.com/python/cpython/issues/136065"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6075"}],"affected":[{"package":{"name":"python-min","ecosystem":"Bitnami","purl":"pkg:bitnami/python-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.25"},{"introduced":"3.10.0"},{"fixed":"3.10.20"},{"introduced":"3.11.0"},{"fixed":"3.11.15"},{"introduced":"3.12.0"},{"fixed":"3.12.13"},{"introduced":"3.13.0"},{"fixed":"3.13.10"},{"introduced":"3.14.0"},{"fixed":"3.14.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/python-min/BIT-python-min-2025-6075.json"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}],"schema_version":"1.7.5"}