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

6.9MEDIUM

Key Information:

Vendor

Canonical

Vendor
CVE Published:
5 December 2025

What is CVE-2025-6966?

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.

Affected Version(s)

python-apt Linux 0

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Julian Andres Klode
.
CVE-2025-6966 : NULL Pointer Dereference in python-apt Affects APT-Based Linux Systems