Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to APT-based host
-
ExploitCraft deb822 file with non-UTF-8 key
-
ExecutionParser calls TagSection.keys(), NULL deref
-
ImpactProcess crash (denial of service)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires LOCAL access to an APT-based Linux system (Debian/Ubuntu) and the ability to get a python-apt consumer to parse an attacker-controlled deb822 file containing a malformed non-UTF-8 key that reaches TagSection.keys(). Limiting factors: the attack vector is local (AV:L), not remote; impact is confined to crashing the parsing process (denial of service only - no confidentiality or integrity impact); and it only affects systems running vulnerable python-apt versions (pre-fix builds enumerated in EUVD/USN). No special non-default configuration is required, but exploitation depends on some workflow feeding the crafted file into python-apt's deb822 parser. |
| Impact | This is a classic high-CVSS-number / low-real-risk case. The CVSS 4.0 base of 6.9 is driven entirely by VA:H (availability) while confidentiality and integrity are N, and the attack vector is LOCAL (AV:L) - so despite PR:N/UI:N, an attacker must already have local access and supply a crafted deb822 file to a process that parses it via python-apt. The impact is limited to a process crash (NULL pointer dereference, CWE-476), not code execution or data exposure. EPSS is effectively negligible at 0.02% (4th percentile), and there is NO CISA KEV listing, indicating no observed real-world exploitation. Public exploit/POC code exists (Launchpad bug 2091865), but POC availability is distinct from active exploitation and does not raise this to priority status given the DoS-only, local-only profile. Ubuntu itself rates this priority=medium, consistent with a low-urgency, patch-in-normal-cycle item. Note a mild internal tension worth verifying: vendor scored VA:H (total availability loss), but the described effect is a single-process crash that is recoverable by removing the malicious input, so real availability impact is arguably lower (A:L) than the score implies. |
| Exploit ScenarioDerived | A local user (or a low-privilege process) on a Debian/Ubuntu system crafts a malformed deb822 file containing a non-UTF-8 key and places it where a python-apt consumer (e.g., an apt tooling or automation script calling TagSection.keys()) will parse it, triggering a NULL pointer dereference that crashes the process. Public POC code exists via the Ubuntu Launchpad bug report. The impact is limited to denial of service of the parsing process - no code execution, data disclosure, or privilege gain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 25, 2026
Local denial of service in python-apt on APT-based Linux systems (Debian and Ubuntu) lets a local user crash any process that parses a crafted deb822 file containing a malformed non-UTF-8 key, which triggers a NULL pointer dereference inside TagSection.keys(). Publicly available exploit code exists (the upstream Launchpad report is tagged as an exploit reference), but there is no KEV entry and no sign of active in-the-wild exploitation, and EPSS is negligible at 0.02% (4th percentile). No privileges are required per the assessed CVSS 4.0 vector (PR:N, AV:L), yet the impact is confined to process availability with no confidentiality or integrity loss, so this is a high-CVSS-number, low-real-risk bug whose practical severity depends entirely on whether a privileged consumer of python-apt can be induced to parse an attacker-supplied stanza.
Earlier versions of this analysis (1)
RemediationAI
Vendor-released patches are available: Ubuntu USN-7916-1 and USN-7916-2 ship fixed python-apt builds such as 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 and 0.9.3.5ubuntu3+esm5, and Debian LTS users should install the python-apt version referenced in DLA-4408-1 (https://lists.debian.org/debian-lts-announce/2025/12/msg00019.html); upgrade to the build matching your release series and reboot or restart any long-running daemons that embed python-apt. Because this is a local, availability-only bug, prioritise it below remotely reachable issues, and if immediate patching is not possible apply compensating controls: do not allow untrusted users to introduce deb822 files (custom repositories, downloaded .dsc or .changes files) into workflows consumed by python-apt-based tooling, and pre-validate or transcode stanza keys to strict UTF-8 before parsing - the trade-off being that legitimately non-UTF-8 legacy control files may be rejected. Where a privileged daemon (for example an update or repository-management service) parses deb822 metadata, isolate it with systemd sandboxing, containerisation or privilege-dropping so that any crash is contained to that process rather than propagated; the trade-off is that dpkg/APT operations requiring root may need a separate privileged helper or suitable mount and capability allowances.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
python-apt is the Python binding to APT's libapt-pkg, and deb822 is Debian's RFC822-style control-file format used for Packages, Sources, Release and .dsc metadata; TagSection wraps a single stanza and keys() enumerates its field names. The defect is CWE-476 (NULL pointer dereference): when a key contains malformed non-UTF-8 bytes, the string/unicode conversion path yields a NULL pointer that is dereferenced without a check, aborting the interpreter with a segmentation fault rather than producing exploitable memory corruption. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N, VC:N/VI:N/VA:H) and the independent 3.1 re-assessment (AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) agree that the vector is strictly local, requires no privileges, and yields availability impact only; the disagreement is over magnitude, since a single crash of a parsing process is more appropriately scored Low than High. The CPE data pins the affected component to ubuntu:python-apt across a long version history (from 0.9.3.5/1.1.0 betas through the 2.x and 3.0 series), and the associated tags (Denial Of Service, Python, Null Pointer Dereference, Debian, Ubuntu) confirm this is a parsing-library availability bug rather than a remote or memory-corruption issue. The realistic attack surface is any workflow in which a local user can place a deb822 file in front of a python-apt consumer - a locally added repository, a downloaded source package description, or a build-time metadata file - including consumers that run with elevated privileges.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local vector (AV:L) as a crafted file must be parsed locally; no privileges needed to supply input (PR:N); impact is a recoverable single-process crash, so A:L and C/I:N.
Primary rating from Vendor (ubuntu).
CVSS VectorVendor: ubuntu
Lifecycle Timeline
5DescriptionCVE.org
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.
Executive ViewAI
CVE-2025-6966 presents moderate security risk, a null pointer dereference vulnerability rated CVSS 5.5. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-476 – NULL Pointer Dereference
View allSame technique Denial Of Service
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| upstream | released | 3.1.0 |
| bionic | released | 1.6.6ubuntu0.1~esm1 |
| focal | released | 2.0.1ubuntu0.20.04.1+esm1 |
| jammy | released | 2.4.0ubuntu4.1 |
| noble | released | 2.7.7ubuntu5.1 |
| plucky | released | 3.0.0ubuntu0.25.04.1 |
| questing | released | 3.0.0ubuntu1.1 |
| trusty | released | 0.9.3.5ubuntu3+esm5 |
| xenial | released | 1.1.0~beta1ubuntu0.16.04.12+esm1 |
Debian
Bug #1122291| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | fixed | 2.2.1.1 | - |
| bullseye (security) | fixed | 2.2.1.1 | - |
| bookworm | vulnerable | 2.6.0 | - |
| trixie | vulnerable | 3.0.0 | - |
| forky, sid | fixed | 3.1.0 | - |
| (unstable) | fixed | 3.1.0 | - |
EUVD-2025-201407
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB