VDB
CVE-2025-6966
CVE-2025-6966
PUBLISHED
CVSS 6.9 MEDIUM
Null-pointer dereference in python-apt TagSection.keys()
Reported by canonical · Published December 5, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python-apt | launchpad.net | 3.0.0ubuntu1.1, 3.0.0ubuntu0.25.04.1, 2.7.7ubuntu5.1, 2.4.0ubuntu4.1, 2.0.1ubuntu0.20.04.1+esm1, 1.6.6ubuntu0.1~esm1, 1.1.0~beta1ubuntu0.16.04.12+esm1, 0.9.3.5ubuntu3+esm5 |
| python-apt | ubuntu | 2.7.7, 2.0.1, 1.6.6, 0.9.3.11 |
Risk scores
CVSS 4.0
6.9
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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | python-apt | 3.0, 3.0, 2.7 |
| Canonical | python-apt | 3.0, 3.0, 2.7 |
Timeline
- Dec 5, 2025 CVE Published
- Dec 6, 2025 EPSS Score (30 in total, the first dated here)
- Dec 15, 2025 CVE Updated
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-6966
vulnetix vdb fixes CVE-2025-6966
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6966/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart