USN-8018-3
USN-8018-1 fixed CVE-2025-12084, CVE-2025-15282, CVE-2026-0672, CVE-2026-0865 for python3. This update provides the corresponding updates for python2.7. Original advisory details: Denis Ledoux discovered that Python incorrectly parsed email message headers. An attacker could possibly use this issue to inject arbitrary headers into email messages. This issue only affected python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, and python3.14 packages. (CVE-2025-11468) Jacob Walls, Shai Berger, and Natalia Bidart discovered that Python inefficiently parsed XML input with quadratic complexity. An attacker could possibly use this issue to cause a denial of service. (CVE-2025-12084) It was discovered that Python incorrectly parsed malicious plist files. An attacker could possibly use this issue to cause Python to use excessive resources, leading to a denial of service. This issue only affected python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12, python3.13, and python3.14 packages. (CVE-2025-13837) Omar Hasan discovered that Python incorrectly parsed URL mediatypes. An attacker could possibly use this issue to inject arbitrary HTTP headers. (CVE-2025-15282) Omar Hasan discovered that Python incorrectly parsed malicious IMAP inputs. An attacker could possibly use this issue to inject arbitrary IMAP commands. (CVE-2025-15366) Omar Hasan discovered that Python incorrectly parsed malicious POP3 inputs. An attacker could possibly use this issue to inject arbitrary POP3 commands. (CVE-2025-15367) Omar Hasan discovered that Python incorrectly parsed malicious HTTP cookie headers. An attacker could possibly use this issue to inject arbitrary HTTP headers. (CVE-2026-0672) Omar Hasan discovered that Python incorrectly parsed malicious HTTP header names and values. An attacker could possibly use this issue to inject arbitrary HTTP headers. (CVE-2026-0865) Update Instructions: Run `sudo pro fix USN-8018-3` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: idle-python2.7 - 2.7.18-1~20.04.7+esm9 libpython2.7 - 2.7.18-1~20.04.7+esm9 libpython2.7-dev - 2.7.18-1~20.04.7+esm9 libpython2.7-minimal - 2.7.18-1~20.04.7+esm9 libpython2.7-stdlib - 2.7.18-1~20.04.7+esm9 libpython2.7-testsuite - 2.7.18-1~20.04.7+esm9 python2.7 - 2.7.18-1~20.04.7+esm9 python2.7-dev - 2.7.18-1~20.04.7+esm9 python2.7-doc - 2.7.18-1~20.04.7+esm9 python2.7-examples - 2.7.18-1~20.04.7+esm9 python2.7-minimal - 2.7.18-1~20.04.7+esm9 Available with Ubuntu Pro: https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-27T02:48:40.354Z UTC
Upstream Advisory
Affected Packages
idle-python2.7 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
libpython2.7 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
libpython2.7-dev 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
libpython2.7-minimal 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
libpython2.7-stdlib 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
libpython2.7-testsuite 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
python2.7 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
python2.7-dev 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
python2.7-doc 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
python2.7-examples 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
python2.7-minimal 2.7.18-1~20.04.7+esm9-2.7.18-1~20.04.7+esm9
idle-python2.7 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
libpython2.7 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
libpython2.7-dev 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
libpython2.7-minimal 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
libpython2.7-stdlib 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
libpython2.7-testsuite 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
python2.7 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
python2.7-dev 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
python2.7-doc 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
python2.7-examples 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8
python2.7-minimal 2.7.18-13ubuntu1.5+esm8-2.7.18-13ubuntu1.5+esm8