Skip to main content
VulnerabilityPublished Updated

CVE-2025-6075: python2.7, python3.5 vulnerabilities

Affects python2.7Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-6075· Low 1.8

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

CVSS 4.0 base score
1.8Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 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).

Affected software

ProductAffectedFixed in
Ubuntu Pro 16.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <2.7.12-1ubuntu0~16.04.18+esm21
Fixed in
  • 2.7.12-1ubuntu0~16.04.18+esm21
Ubuntu Pro 16.04 LTSpython3.5pkg:deb/ubuntu/python3.5?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <3.5.2-2ubuntu0~16.04.13+esm24
Fixed in
  • 3.5.2-2ubuntu0~16.04.13+esm24

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)

References

Community reviews

Loading reviews…