| Name | CVE-2025-6966 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4408-1 |
| Debian Bugs | 1122291 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| python-apt (PTS) | bullseye | 2.2.1 | vulnerable |
| bullseye (security) | 2.2.1.1 | fixed |
| bookworm | 2.6.0 | vulnerable |
| trixie | 3.0.0 | vulnerable |
| forky, sid | 3.1.0 | fixed |
The information below is based on the following data on fixed versions.
Notes
[trixie] - python-apt <no-dsa> (Minor issue)
[bookworm] - python-apt <no-dsa> (Minor issue)
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2091865
https://launchpadlibrarian.net/764050984/0001-Fix-invalid-nullptr-dereference-in-TagSection.keys.patch