CVE-2025-6966
published medium CVSS 4.0 · 6.9Null-pointer dereference in python-apt TagSection.keys()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | python-apt3.0 to < 3.0.0ubuntu1.1 · 3.0 to < 3.0.0ubuntu0.25.04.1 · 2.7 to < 2.7.7ubuntu5.1 · 2.4 to < 2.4.0ubuntu4.1 · 2.0 to < 2.0.1ubuntu0.20.04.1+esm1 · 1.6 to < 1.6.6ubuntu0.1~esm1 · 1.1 to < 1.1.0~beta1ubuntu0.16.04.12+esm1 · 0 to < 0.9.3.5ubuntu3+esm5 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Debian | bullseye | python-apt | Advisory build | 2.2.1.1 | DLA-4408-1 |
| Ubuntu | bionic | python-apt | Advisory build | 1.6.6ubuntu0.1~esm1 | USN-7916-1 |
| Ubuntu | focal | python-apt | Advisory build | 2.0.1ubuntu0.20.04.1+esm1 | USN-7916-1 |
| Ubuntu | focal | python-apt | Advisory build | 2.0.1ubuntu0.20.04.2esm2 | USN-7916-2 |
| Ubuntu | jammy | python-apt | Advisory build | 2.4.0ubuntu4.1 | USN-7916-1 |
| Ubuntu | noble | python-apt | Advisory build | 2.7.7ubuntu5.1 | USN-7916-1 |
| Ubuntu | questing | python-apt | Advisory build | 3.0.0ubuntu1.1 | USN-7916-1 |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | trusty | python-apt | Advisory build | 0.9.3.5ubuntu3+esm5 | USN-7916-1 |
| Ubuntu | xenial | python-apt | Advisory build | 1.1.0~beta1ubuntu0.16.04.12+esm1 | USN-7916-1 |
| Ubuntu | bionic | python-apt-common | Advisory build | 1.6.6ubuntu0.1~esm1 | USN-7916-1 |
| Ubuntu | bionic | python3-apt | Advisory build | 1.6.6ubuntu0.1~esm1 | USN-7916-1 |
| Ubuntu | focal | python-apt-common | Advisory build | 2.0.1ubuntu0.20.04.1+esm1 | USN-7916-1 |
| Ubuntu | focal | python-apt-common | Advisory build | 2.0.1ubuntu0.20.04.2esm2 | USN-7916-2 |
| Ubuntu | focal | python3-apt | Advisory build | 2.0.1ubuntu0.20.04.1+esm1 | USN-7916-1 |
| Ubuntu | focal | python3-apt | Advisory build | 2.0.1ubuntu0.20.04.2esm2 | USN-7916-2 |
| Ubuntu | jammy | python-apt-common | Advisory build | 2.4.0ubuntu4.1 | USN-7916-1 |
| Ubuntu | jammy | python3-apt | Advisory build | 2.4.0ubuntu4.1 | USN-7916-1 |
| Ubuntu | noble | python-apt-common | Advisory build | 2.7.7ubuntu5.1 | USN-7916-1 |
| Ubuntu | noble | python3-apt | Advisory build | 2.7.7ubuntu5.1 | USN-7916-1 |
| Ubuntu | questing | python-apt-common | Advisory build | 3.0.0ubuntu1.1 | USN-7916-1 |
| Ubuntu | questing | python3-apt | Advisory build | 3.0.0ubuntu1.1 | USN-7916-1 |
| Ubuntu | trusty | python-apt-common | Advisory build | 0.9.3.5ubuntu3+esm5 | USN-7916-1 |
| Ubuntu | trusty | python3-apt | Advisory build | 0.9.3.5ubuntu3+esm5 | USN-7916-1 |
| Ubuntu | xenial | python-apt-common | Advisory build | 1.1.0~beta1ubuntu0.16.04.12+esm1 | USN-7916-1 |
| Ubuntu | xenial | python3-apt | Advisory build | 1.1.0~beta1ubuntu0.16.04.12+esm1 | USN-7916-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | python-apt | 3.0 to < 3.0.0ubuntu1.1 (affected · custom)3.0 to < 3.0.0ubuntu0.25.04.1 (affected · custom)2.7 to < 2.7.7ubuntu5.1 (affected · custom)2.4 to < 2.4.0ubuntu4.1 (affected · custom)2.0 to < 2.0.1ubuntu0.20.04.1+esm1 (affected · custom)1.6 to < 1.6.6ubuntu0.1~esm1 (affected · custom)1.1 to < 1.1.0~beta1ubuntu0.16.04.12+esm1 (affected · custom)0 to < 0.9.3.5ubuntu3+esm5 (affected · custom)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
2Provider assertions
3canonical · cna
Null-pointer dereference in python-apt TagSection.keys()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5d4b85346b34dc4c3c802231e317c9ef07c7b35cb1f77325bb22145806a32859
- Ingested
- 23 Sep 2026, 08:57:58 UTC
- Source record
- Official CVE record