CVE-2025-6075
Quadratic complexity in os.path.expandvars() with user-controlled template
5.5
MEDIUM
CVSS 3.1
EPSS 0.02%
Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
How to fix CVE-2025-6075
To remediate CVE-2025-6075, upgrade the affected package to a fixed version below.
- Bitnami/libpython—upgrade to 3.9.25 or later
- —upgrade to 3.9.25 or later
- —upgrade to 3.9.25 or later
- —no fix listed
- —upgrade to 3.11.2-6+deb12u7 or later
- —upgrade to 3.13.5-2+deb13u1 or later
- —upgrade to 3.14.2-1 or later
- —upgrade to 3.9.2-1+deb11u4 or later
Is CVE-2025-6075 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (8)
- from 0, < 3.9.25, >= 3.10.0, < 3.10.20, >= 3.11.0, < 3.11.15, >= 3.12.0, < 3.12.13, >= 3.13.0, < 3.13.10, >= 3.14.0, < 3.14.1
- from 0, < 3.9.25, >= 3.10.0, < 3.10.20, >= 3.11.0, < 3.11.15, >= 3.12.0, < 3.12.13, >= 3.13.0, < 3.13.10, >= 3.14.0, < 3.14.1
- from 0, < 3.9.25, >= 3.10.0, < 3.10.20, >= 3.11.0, < 3.11.15, >= 3.12.0, < 3.12.13, >= 3.13.0, < 3.13.10, >= 3.14.0, < 3.14.1
- from 0
- from 0, < 3.11.2-6+deb12u7
- from 0, < 3.13.5-2+deb13u1
- from 0, < 3.14.2-1
- from 0, < 3.9.2-1+deb11u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |