CVE-2025-6966 in Debian Linux and 2 more products
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.
Affects 3 products from 3 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 11.0 |
| Ubuntu | Python-Apt | 0.9.3.11 1.1.0 1.6.6 2.0.1 2.4.0 2.7.7+5 more3.0.0 < 0.9.3.11 ≥ 1.6.0, < 1.6.6 ≥ 2.0.0, < 2.0.1 ≥ 2.7.0, < 2.7.7 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Canonical Ubuntu Linux
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-6966 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-031942-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-12-05 |
| Last modified | 2026-01-07 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
A NULL pointer dereference vulnerability in the TagSection.keys() function of the python-apt library on APT-based Linux systems can be exploited by a local attacker to cause a denial of service through a crafted deb822 file with a malformed non-UTF-8 key.
The vulnerability arises from improper handling of non-UTF-8 encoded keys in deb822 files, leading to a NULL pointer dereference when the TagSection.keys() function is invoked. An attacker can exploit this by creating a malicious deb822 file that includes a malformed key, which, when processed by the affected software, results in a process crash.
Questions
What is CVE-2025-6966?
A NULL pointer dereference vulnerability in the TagSection.keys() function of the python-apt library on APT-based Linux systems can be exploited by a local attacker to cause a denial of service through a crafted deb822 file with a malformed non-UTF-8 key.
What is the CVSS score for CVE-2025-6966?
CVE-2025-6966 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.2%.
Is CVE-2025-6966 actively exploited?
No confirmed active exploitation of CVE-2025-6966 as of 2026-05-30.
How do I remediate CVE-2025-6966?
Priority: MEDIUM.
What systems are affected by CVE-2025-6966?
CVE-2025-6966 affects Debian Debian Linux; Ubuntu Python-Apt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-01-07.