NULL pointer dereference in Canonical Python-apt

CVE-2025-6966

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.

EPSS: 0.001 (2.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-6966?
CVE-2025-6966 is a medium-severity vulnerability in Canonical Python-apt, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2025-12-05.
How severe is CVE-2025-6966?
Medium severity. CVSS v3 base score is 5.5 out of 10.