Skip to main content
CVE-2025-6075VulnerabilityPublished Updated

CVE-2025-6075: Python Software Foundation CPython · Vulnerability

Affects Python Software Foundation CPythonSource CVE Database V5

0

Not known to be exploited · CVSS 1.8 Low.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 4.0 base score
1.8Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
PyPIcpythonpkg:pypi/cpythonOther threatsAffected
  • =3.10.0
  • =3.11.0
  • =3.12.0
  • =3.13.0
  • =3.14.0
  • =3.15.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, avoid passing untrusted or user-controlled input to os.path.expandvars() to mitigate potential performance issues.

Description

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

References

Community reviews

Loading reviews…