CVE-2025-6966

MEDIUMCVSS 6.9/10EPSS 0.12%

Last modified

CVE-2025-6966 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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.. EPSS estimates a 0.12% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS 4.0
6.9/10

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS Probability
0.12%

2.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
UbuntuPython-Apt< 0.9.3.11
UbuntuPython-Apt>= 1.6.0, < 1.6.6
UbuntuPython-Apt>= 2.0.0, < 2.0.1
UbuntuPython-Apt>= 2.7.0, < 2.7.7
UbuntuPython-Apt0.9.3.5Ubuntu1
UbuntuPython-Apt0.9.3.11
UbuntuPython-Apt1.1.0Beta1
UbuntuPython-Apt1.6.6
UbuntuPython-Apt2.0.1
UbuntuPython-Apt2.4.0\+22.10
UbuntuPython-Apt2.7.7
UbuntuPython-Apt3.0.0
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

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.
How severe is CVE-2025-6966?
CVE-2025-6966 has a CVSS score of 6.9/10 (MEDIUM severity). The EPSS model estimates a 0.12% probability of exploitation in the next 30 days.
How do I fix CVE-2025-6966?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-6966?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST