CVE-2025-6966

Severity CVSS v4.0:
MEDIUM
Type:
CWE-476 NULL Pointer Dereference
Publication date:
05/12/2025
Last modified:
07/01/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ubuntu:python-apt:*:*:*:*:*:*:*:* 0.9.3.11 (excluding)
cpe:2.3:a:ubuntu:python-apt:*:*:*:*:*:*:*:* 1.6.0 (including) 1.6.6 (excluding)
cpe:2.3:a:ubuntu:python-apt:*:*:*:*:*:*:*:* 2.0.0 (including) 2.0.1 (excluding)
cpe:2.3:a:ubuntu:python-apt:*:*:*:*:*:*:*:* 2.7.0 (including) 2.7.7 (excluding)
cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu1:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:0.9.3.5:ubuntu2:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:0.9.3.11:-:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:0.9.3.11:build1:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1build1:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.1:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.10:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.11:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.2:*:*:*:*:*:*
cpe:2.3:a:ubuntu:python-apt:1.1.0:beta1ubuntu0.16.04.3:*:*:*:*:*:*