Null-pointer dereference in python-apt TagSection.keys()
Published Dec 5, 2025
6.9
MEDIUMCVSS 4.0
EPSS 0.14%
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.
Affected products
-
- Version 0StatusaffectedConstraints<0.9.3.5ubuntu3+esm5
- Version 1.1StatusaffectedConstraints<1.1.0~beta1ubuntu0.16.04.12+esm1
- Version 1.6StatusaffectedConstraints<1.6.6ubuntu0.1~esm1
- Version 2.0StatusaffectedConstraints<2.0.1ubuntu0.20.04.1+esm1
- Version 2.4StatusaffectedConstraints<2.4.0ubuntu4.1
- Version 2.7StatusaffectedConstraints<2.7.7ubuntu5.1
- Version 3.0StatusaffectedConstraints<3.0.0ubuntu0.25.04.1
- Version 3.0StatusaffectedConstraints<3.0.0ubuntu1.1
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Canonical | Python-Apt | unaffected |
|
Configuration 1
- < 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
- 0.9.3.5
- 0.9.3.11
- 0.9.3.11
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.1.0
- 1.6.6
- 2.0.1
- 2.4.0
- 2.4.0
- 2.4.0
- 2.4.0
- 2.4.0
- 2.4.0
- 2.7.7
- 2.7.7
- 2.7.7
- 2.7.7
- 2.7.7
- 2.7.7
- 2.7.7
- 3.0.0
- 3.0.0
Running on/with
- n/a
Configuration 2
- 11.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability is rated Low for Red Hat as it requires a local attacker to provide a crafted deb822 file to trigger a NULL pointer dereference in `python-apt`, leading to a denial of service (process crash). Red Hat products that utilize `python-apt` and process untrusted deb822 files may be affected.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Metrics
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
1 other source (NVD) ▾
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/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
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Dec 5, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.14% (0.00145) | 3.19th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.12% (0.00122) | 2.33th | v5 (v2026.06.15) |
| Dec 6, 2025 | 0.01% (0.00014) | 1.98th | v4 (v2025.03.14) |
References (6)
- https://access.redhat.com/security/cve/CVE-2025-6966 Vendor Advisory
- https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2091865 ExploitIssue TrackingThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2419364 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2025/12/msg00019.html Mailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-6966
- https://www.cve.org/CVERecord?id=CVE-2025-6966
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2025-6966 | Vendor Advisory | |
| https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2091865 | ExploitIssue TrackingThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2419364 | Issue Tracking | |
| https://lists.debian.org/debian-lts-announce/2025/12/msg00019.html | Mailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6966 | ||
| https://www.cve.org/CVERecord?id=CVE-2025-6966 |
Change history (0)
No recorded changes yet.