CVE-2025-6966Null-pointer dereference in python-apt TagSection.keys()
Updated under an hour ago ()
Does this affect you?
It affects Canonical python-apt and 2 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.9 MEDIUM (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-476
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- canonical
- NVD analysis
- Analyzed
- Record last updated
- Dec 15, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Canonical python-apt canonical:python_apt (from the name) | from 3.0 before 3.0.0ubuntu1.1; from 3.0 before 3.0.0ubuntu0.25.04.1; from 2.7 before 2.7.7ubuntu5.1; from 2.4 before 2.4.0ubuntu4.1; from 2.0 before 2.0.1ubuntu0.20.04.1+esm1; from 1.6 before 1.6.6ubuntu0.1~esm1; 1.1 builds before 1.1.0~beta1ubuntu0.16.04.12+esm1; before 0.9.3.5ubuntu3+esm5 | CNA record |
ubuntu python-apt ubuntu:python-apt | before 0.9.3.11; from 1.6.0 before 1.6.6; from 2.0.0 before 2.0.1; from 2.7.0 before 2.7.7; 0.9.3.5; 0.9.3.5; 0.9.3.11; 0.9.3.11; and 35 more ranges | NVD |
debian debian_linux debian:debian_linux | 11.0 | NVD |
References
- https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2091865exploit, issue-tracking, third-party-advisory
- https://lists.debian.org/debian-lts-announce/2025/12/msg00019.htmlmailing-list, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.