StackPatch is liveSee product

Back to CVE digest
Ubuntu USN · USN-8614-1

Python vulnerabilities

Published: Mon, 27 Jul 2026 16:37

CVE-2025-6075CVE-2025-69534

Summary

Several security issues were fixed in Python.

Details

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)

Recommended actions per Ubuntu release

StackPatch playbook auto-generated per release codename and per affected package.

Ubuntu xenial

  • python2.72.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python2.7

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.53.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • idle-python2.72.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y idle-python2.7

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • idle-python3.53.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y idle-python3.5

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython2.72.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython2.7

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython2.7-dev2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython2.7-dev

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython2.7-minimal2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython2.7-minimal

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython2.7-stdlib2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython2.7-stdlib

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython2.7-testsuite2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython2.7-testsuite

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython3.53.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython3.5

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython3.5-dev3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython3.5-dev

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython3.5-minimal3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython3.5-minimal

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython3.5-stdlib3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython3.5-stdlib

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libpython3.5-testsuite3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libpython3.5-testsuite

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python2.72.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python2.7

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python2.7-dev2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python2.7-dev

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python2.7-doc2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python2.7-doc

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python2.7-examples2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python2.7-examples

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python2.7-minimal2.7.12-1ubuntu0~16.04.18+esm21apt_upgrade

    Standard apt upgrade. Install 2.7.12-1ubuntu0~16.04.18+esm21 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python2.7-minimal

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.53.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.5-dev3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5-dev

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.5-doc3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5-doc

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.5-examples3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5-examples

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.5-minimal3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5-minimal

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • python3.5-venv3.5.2-2ubuntu0~16.04.13+esm24apt_upgrade

    Standard apt upgrade. Install 3.5.2-2ubuntu0~16.04.13+esm24 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y python3.5-venv

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Are YOU affected by USN-8614-1?

5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8614-1 (and any other live CVE) applies. Anonymous, no signup.

curl https://mindsparkstack.com/scan.sh | bash
Want this automated for your servers?

StackPatch runs this match against YOUR installed packages every hour

Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.