# CVE-2025-6966: python-apt: NULL pointer dereference in TagSection.keys() in python-apt on APT-based Linux systems allows a local attacker to cau...

CVE-2025-6966 is fixed in 15 products on 1 platform, first by python-apt 1.6.6ubuntu0.1~esm1, released December 4, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-6966
- Priority: Routine
- CVSS: 5.5 (Medium)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 4, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | apt Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-apidoc Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-debuginfo Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-debugsource Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-devel Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-doc Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-libs Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-libs-debuginfo Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-utils Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | apt-utils-debuginfo Fedora 43 | 3.1.15-2.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | python-apt Debian 11.6 (bullseye) | 2.2.1.1 | [DLA-4408-1](https://patchblox.com/security/data/fix/linux/dla-4408-1.md) | Dec 16, 2025 |
| Linux | python-apt Debian 14 | 3.1.0 | [DEBIAN-CVE-2025-6966](https://patchblox.com/security/data/fix/linux/debian-cve-2025-6966.md) | Dec 5, 2025 |
| Linux | python-apt Fedora 43 | 3.1.0-1.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | python-apt Ubuntu 18.04.6 LTS (bionic) | 1.6.6ubuntu0.1~esm1 | [python-apt 1.6.6ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-apt-1.6.6ubuntu0.1-esm1.md) | Dec 4, 2025 |
| Linux | python-apt Ubuntu 20.04 LTS (focal) | 2.0.1ubuntu0.20.04.1+esm1 | [python-apt 2.0.1ubuntu0.20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-apt-2.0.1ubuntu0.20.04.1-esm1.md) | Dec 4, 2025 |
| Linux | python-apt-common Ubuntu 18.04.6 LTS (bionic) | 1.6.6ubuntu0.1~esm1 | [python-apt-common 1.6.6ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-apt-common-1.6.6ubuntu0.1-esm1.md) | Dec 4, 2025 |
| Linux | python-apt-common Ubuntu 20.04 LTS (focal) | 2.0.1ubuntu0.20.04.1+esm1 | [python-apt-common 2.0.1ubuntu0.20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python-apt-common-2.0.1ubuntu0.20.04.1-esm1.md) | Dec 4, 2025 |
| Linux | python-apt-common Ubuntu 22.04.1 LTS (jammy) | 2.4.0ubuntu4.1 | [python-apt-common 2.4.0ubuntu4.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python-apt-common-2.4.0ubuntu4.1.md) | Dec 4, 2025 |
| Linux | python-apt-common Ubuntu 24.04.5 LTS (noble) | 2.7.7ubuntu5.1 | [python-apt-common 2.7.7ubuntu5.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python-apt-common-2.7.7ubuntu5.1.md) | Dec 4, 2025 |
| Linux | python-apt-common Ubuntu 25.10 (questing) | 3.0.0ubuntu1.1 | [python-apt-common 3.0.0ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python-apt-common-3.0.0ubuntu1.1.md) | Dec 4, 2025 |
| Linux | python-apt-debugsource Fedora 43 | 3.1.0-1.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | python3-apt Fedora 43 | 3.1.0-1.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |
| Linux | python3-apt Ubuntu 18.04.6 LTS (bionic) | 1.6.6ubuntu0.1~esm1 | [python3-apt 1.6.6ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-apt-1.6.6ubuntu0.1-esm1.md) | Dec 4, 2025 |
| Linux | python3-apt Ubuntu 20.04 LTS (focal) | 2.0.1ubuntu0.20.04.1+esm1 | [python3-apt 2.0.1ubuntu0.20.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-apt-2.0.1ubuntu0.20.04.1-esm1.md) | Dec 4, 2025 |
| Linux | python3-apt Ubuntu 22.04.1 LTS (jammy) | 2.4.0ubuntu4.1 | [python3-apt 2.4.0ubuntu4.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-apt-2.4.0ubuntu4.1.md) | Dec 4, 2025 |
| Linux | python3-apt Ubuntu 24.04.5 LTS (noble) | 2.7.7ubuntu5.1 | [python3-apt 2.7.7ubuntu5.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-apt-2.7.7ubuntu5.1.md) | Dec 4, 2025 |
| Linux | python3-apt Ubuntu 25.10 (questing) | 3.0.0ubuntu1.1 | [python3-apt 3.0.0ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-apt-3.0.0ubuntu1.1.md) | Dec 4, 2025 |
| Linux | python3-apt-debuginfo Fedora 43 | 3.1.0-1.fc43 | [FEDORA-2026-1C47E433DF](https://patchblox.com/security/data/fix/linux/fedora-2026-1c47e433df.md) | Feb 16, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
