USN-7916-2: python-apt regression
Publication date
15 January 2026
Overview
USN-7916-1 introduced a regression in python-apt
Releases
Packages
- python-apt - Python interface to libapt-pkg
Details
USN-7916-1 fixed a vulnerability in python-apt. The update had a
PEP 440 incompatible version. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
Julian Andres Klode discovered that python-apt incorrectly handled
deb822 configuration files. An attacker could use this issue to cause
python-apt to crash, resulting in a denial of service.
USN-7916-1 fixed a vulnerability in python-apt. The update had a
PEP 440 incompatible version. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
Julian Andres Klode discovered that python-apt incorrectly handled
deb822 configuration files. An attacker could use this issue to cause
python-apt to crash, resulting in a denial of service.
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 20.04 LTS focal | python-apt – 2.0.1ubuntu0.20.04.2esm2 | ||
| python-apt-common – 2.0.1ubuntu0.20.04.2esm2 | |||
| python-apt-dev – 2.0.1ubuntu0.20.04.2esm2 | |||
| python-apt-doc – 2.0.1ubuntu0.20.04.2esm2 | |||
| python3-apt – 2.0.1ubuntu0.20.04.2esm2 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.