CVE-2025-6966

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductUbuntu Python-apt
PublishedDec 5, 2025
First seenDec 5, 2025

How to fix

Update
  • ubuntu python-apt0.9.3.11, 1.6.6, 2.0.1, 2.7.7 or later

Affected products

ProductAffected versionsFixed in
ubuntu python-aptv < 0.9.3.11, 1.6.0 ≤ v < 1.6.6, 2.0.0 ≤ v < 2.0.1, 2.7.0 ≤ v < 2.7.7, 0.9.3.5, 0.9.3.11, 1.1.0, 1.6.6, 2.0.1, 2.4.0, 2.7.7, 3.0.00.9.3.11, 1.6.6, 2.0.1, 2.7.7
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.