Skip to content
OpenAdvisories
Medium USN-7916-2 1 CVE

python-apt regression

Published Jan 15, 2026 · Updated Apr 22, 2026

Summary

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.

Fixed packages 1

ReleasePackageFixed in
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS python-apt 2.0.1ubuntu0.20.04.2esm2

Vulnerabilities 1

  • Medium 6.9

    Null-pointer dereference in python-apt TagSection.keys()

    NULL pointer dereference in TagSection.keys() in python-apt on APT-based Linux systems allows a local attacker to cause a denial of service (process crash) via a crafted deb822 file with a malformed non-UTF-8 key.

References

  • report
    https://ubuntu.com/security/CVE-2025-6966
  • report
    https://bugs.launchpad.net/bugs/2137070