Vulnerability

CVE-2025-6075

lowCVSS 4.0 1.8Published 31 Oct 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python python

Weakness type

References

  • github.com /python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b32…
  • github.com /python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb2…
  • github.com /python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f…
  • github.com /python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381…
  • github.com /python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480f…
  • github.com /python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbec…
  • github.com /python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aac…
  • github.com /python/cpython/issues/136065
  • mail.python.org /archives/list/security-announce@python.org/thread/IUP5QJ6D…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning