CVEfocus › CVE database › CVE-2025-6966

CVE-2025-6966Null-pointer dereference in python-apt TagSection.keys()

CVSS 6.9 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2025-12-05Updated 2025-12-15Assigner: canonical

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.

CWE-476

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
6Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10python-aptFixed3.0.0ubuntu1.1UBUNTU-CVE-2025-6966
Ubuntu 24.04python-aptFixed2.7.7ubuntu5.1UBUNTU-CVE-2025-6966
Ubuntu 22.04python-aptFixed2.4.0ubuntu4.1UBUNTU-CVE-2025-6966
Ubuntu 20.04python-aptFix pending2.0.1ubuntu0.20.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-6966
Ubuntu 18.04python-aptFix pending1.6.6ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-6966
Ubuntu 16.04python-aptFix pending1.1.0~beta1ubuntu0.16.04.12+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-6966
Ubuntu 14.04python-aptFix pending0.9.3.5ubuntu3+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-6966
Debian 14python-aptFixed3.1.0DEBIAN-CVE-2025-6966
Debian 13python-aptFix pendingDEBIAN-CVE-2025-6966
Debian 12python-aptFix pendingDEBIAN-CVE-2025-6966

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.