CVE-2025-6075: python2.7, python3.5 vulnerabilities
Affects python2.7Source GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 1.8 Low · fixed in 2.7.12-1ubuntu0~16.04.18+esm21 : update python2.7 when convenient.
Data as of 24 Nov 2026, 17:39 UTC
- Patch
- Available – fixed in 2.7.12-1ubuntu0~16.04.18+esm21, 3.5.2-2ubuntu0~16.04.13+esm24
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 23 Nov 2026.
What to do
Upgrade the Ubuntu to 2.7.12-1ubuntu0~16.04.18+esm21 (python2.7 package) or 3.5.2-2ubuntu0~16.04.13+esm24 (python3.5 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 16.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSpython3.5pkg:deb/ubuntu/python3.5?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
It was discovered that Python incorrectly handled expanding environment variables in os.path.expandvars() when the input was user-controlled. An attacker could possibly use this issue to cause Python to consume resources, leading to a denial of service. (CVE-2025-6075) It was discovered that Python incorrectly handled certain malformed HTML-like markup in the HTMLParser module, raising an uncaught exception. A remote attacker could possibly use this issue to cause applications that parse untrusted input to crash, resulting in a denial of service. (CVE-2025-69534)