CVE-2025-6966: Null-pointer dereference in python-apt TagSection.keys()
Vulnerability summary
CVE-2025-6966 is a medium (CVSS 6.9) NULL Pointer Dereference vulnerability in canonical python-apt. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 05-12-2025PublishedVulnerability first disclosed.
- 15-12-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.14% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.launchpad.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- python-apt< 2.2.1.1 | All versions (No fix recorded) | < 3.1.0
- debian_linuxEOL11.0
Ubuntu2 products
- python-apt< 2.0.1ubuntu0.20.04.2esm2 | < 0.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.0ubuntu1.1
- python-apt< 0.9.3.11 | ≥ 1.6.0, < 1.6.6 | ≥ 2.0.0, < 2.0.1 | ≥ 2.7.0, < 2.7.7 | 0.9.3.5:ubuntu1 | 0.9.3.5:ubuntu2 | 0.9.3.11 | 0.9.3.11:build1 | 1.1.0:beta1 | 1.1.0:beta1build1 | 1.1.0:beta1ubuntu0.16.04.1 | 1.1.0:beta1ubuntu0.16.04.10 | 1.1.0:beta1ubuntu0.16.04.11 | 1.1.0:beta1ubuntu0.16.04.2 | 1.1.0:beta1ubuntu0.16.04.3 | 1.1.0:beta1ubuntu0.16.04.4 | 1.1.0:beta1ubuntu0.16.04.5 | 1.1.0:beta1ubuntu0.16.04.7 | 1.1.0:beta1ubuntu0.16.04.8 | 1.1.0:beta1ubuntu0.16.04.9 | 1.1.0:beta2ubuntu1 | 1.1.0:beta3 | 1.1.0:beta4 | 1.1.0:beta4ubuntu1 | 1.1.0:beta5 | 1.1.0:beta5ubuntu1 | 1.6.6 | 2.0.1 | 2.4.0:\+22.10 | 2.4.0 | 2.4.0:ubuntu1 | 2.4.0:ubuntu2 | 2.4.0:ubuntu3 | 2.4.0:ubuntu4 | 2.7.7 | 2.7.7:build1 | 2.7.7:ubuntu1 | 2.7.7:ubuntu2 | 2.7.7:ubuntu3 | 2.7.7:ubuntu4 | 2.7.7:ubuntu5 | 3.0.0 | 3.0.0:ubuntu1
Canonical1 product
- python-apt≥ 3.0, < 3.0.0ubuntu1.1 | ≥ 3.0, < 3.0.0ubuntu0.25.04.1 | ≥ 2.7, < 2.7.7ubuntu5.1 | ≥ 2.4, < 2.4.0ubuntu4.1 | ≥ 2.0, < 2.0.1ubuntu0.20.04.1+esm1 | ≥ 1.6, < 1.6.6ubuntu0.1~esm1 | ≥ 1.1, < 1.1.0~beta1ubuntu0.16.04.12+esm1 | < 0.9.3.5ubuntu3+esm5
3 vendors · 5 products