CVE-2025-6966

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

State
Published
Severity
6.9 Medium
Published
Dec 5, 2025
Updated
Dec 15, 2025
Reserved
Jul 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Ncanonical

Weaknesses

Affected Products

ProductVersions
python-aptCanonical
  • 3.0 to before 3.0.0ubuntu1.1Affected
  • 3.0 to before 3.0.0ubuntu0.25.04.1Affected
  • 2.7 to before 2.7.7ubuntu5.1Affected
  • 2.4 to before 2.4.0ubuntu4.1Affected
  • 2.0 to before 2.0.1ubuntu0.20.04.1+esm1Affected
  • 1.6 to before 1.6.6ubuntu0.1~esm1Affected
  • 1.1 to before 1.1.0~beta1ubuntu0.16.04.12+esm1Affected
  • before 0.9.3.5ubuntu3+esm5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.