What’s Vulnerable › Vulnerabilities

CVE-2025-6966: Null-pointer dereference in python-apt TagSection.keys()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Ubuntu Python-Apt 0.9.3.11, 1.6.6, 2.0.1, 2.7.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-6966 or the next vulnerability affects your stack