CVE-2025-6966

published 5 Dec 2025 · updated 15 Dec 2025

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

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.9.3.5ubuntu3+esm5, 1.1.0~beta1ubuntu0.16.04.12+esm1, 1.6.6ubuntu0.1~esm1 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Canonical<0.9.3.5ubuntu3+esm5, >=1.1 <1.1.0~beta1ubuntu0.16.04.12+esm1, >=1.6 <1.6.6ubuntu0.1~esm1, >=2.0 <2.0.1ubuntu0.20.04.1+esm1, >=2.4 <2.4.0ubuntu4.1, >=2.7 <2.7.7ubuntu5.1, >=3.0 <3.0.0ubuntu0.25.04.1, >=3.0 <3.0.0ubuntu1.10.9.3.5ubuntu3+esm5, 1.1.0~beta1ubuntu0.16.04.12+esm1, 1.6.6ubuntu0.1~esm1, 2.0.1ubuntu0.20.04.1+esm1, 2.4.0ubuntu4.1, 2.7.7ubuntu5.1, 3.0.0ubuntu0.25.04.1, 3.0.0ubuntu1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6966 severity on Zeptric[![CVE-2025-6966](https://zeptric.io/badge/cve/CVE-2025-6966.svg)](https://zeptric.io/cve/CVE-2025-6966)