CVEBrief

Home / Canonical / python-apt / CVE-2025-6966

CVE-2025-6966: is it exploited, and which versions of Canonical python-apt are affected and fixed?

CVE-2025-6966 is a NULL pointer dereference (crash) vulnerability in Canonical python-apt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: python-apt from 3.0 before 3.0.0ubuntu1.1, python-apt from 3.0 before 3.0.0ubuntu0.25.04.1, python-apt from 2.7 before 2.7.7ubuntu5.1 and 5 more (CVE record by canonical). Fixed in 3.0.0ubuntu1.1, 3.0.0ubuntu0.25.04.1, 2.7.7ubuntu5.1, 2.4.0ubuntu4.1 and 2 more (CVE record by canonical). Severity: Medium (6.9, CVSS 4.0, from canonical).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
python-apt from 3.0 before 3.0.0ubuntu1.1, python-apt from 3.0 before 3.0.0ubuntu0.25.04.1, python-apt from 2.7 before 2.7.7ubuntu5.1 and 5 more
CVE record by canonical
Fixed in
3.0.0ubuntu1.1, 3.0.0ubuntu0.25.04.1, 2.7.7ubuntu5.1, 2.4.0ubuntu4.1 and 2 more
CVE record by canonical
Severity
Medium 6.9
CVSS 4.0 from canonical
Exploit odds (EPSS)
0.16% in 30 days
higher than 5% of CVEs; FIRST, December 2, 2026

What is CVE-2025-6966?

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

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.

From the CVE record by canonical, last updated December 15, 2025, 22:04 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Canonicalpython-apt
Linux
from 3.0 before 3.0.0ubuntu1.1
from 3.0 before 3.0.0ubuntu0.25.04.1
from 2.7 before 2.7.7ubuntu5.1
from 2.4 before 2.4.0ubuntu4.1
from 2.0 before 2.0.1ubuntu0.20.04.1+esm1
from 1.6 before 1.6.6ubuntu0.1~esm1
from 1.1 before 1.1.0~beta1ubuntu0.16.04.12+esm1
before 0.9.3.5ubuntu3+esm5
3.0.0ubuntu1.1, 3.0.0ubuntu0.25.04.1, 2.7.7ubuntu5.1, 2.4.0ubuntu4.1, 2.0.1ubuntu0.20.04.1+esm1, 1.6.6ubuntu0.1~esm1, 1.1.0~beta1ubuntu0.16.04.12+esm1, 0.9.3.5ubuntu3+esm5

As the CVE record by canonical states it, last updated December 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
ubuntupython-aptbefore 0.9.3.11application
ubuntupython-aptfrom 1.6.0 before 1.6.6application
ubuntupython-aptfrom 2.0.0 before 2.0.1application
ubuntupython-aptfrom 2.7.0 before 2.7.7application
ubuntupython-apt0.9.3.5application
ubuntupython-apt0.9.3.11application
ubuntupython-apt1.1.0application
ubuntupython-apt1.6.6application
ubuntupython-apt2.0.1application
ubuntupython-apt2.4.0application
ubuntupython-apt2.7.7application
ubuntupython-apt3.0.0application
debiandebian linux11.0operating system

NVD analysis (status Analyzed), last modified September 25, 2026, 23:10 UTC.

How severe is CVE-2025-6966?

ScoreVersionVectorSource
Medium 6.9CVSS 4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Ncanonical
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-6966 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 5, 2025)
EPSS
0.16% probability of exploitation activity in the next 30 days, percentile 5.1 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
July 1, 2025
Published
December 5, 2025, 12:59 UTC
CVE record updated
December 15, 2025, 22:04 UTC by canonical
NVD
Analyzed, last modified September 25, 2026, 23:10 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect python-apt?

Every CVE in python-apt

Questions about CVE-2025-6966

Is CVE-2025-6966 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Canonical python-apt are affected by CVE-2025-6966?

python-apt from 3.0 before 3.0.0ubuntu1.1, python-apt from 3.0 before 3.0.0ubuntu0.25.04.1, python-apt from 2.7 before 2.7.7ubuntu5.1, python-apt from 2.4 before 2.4.0ubuntu4.1, python-apt from 2.0 before 2.0.1ubuntu0.20.04.1+esm1, python-apt from 1.6 before 1.6.6ubuntu0.1~esm1 and 2 more, per the CVE record by canonical. The tables above give every range the sources list.

Which version fixes CVE-2025-6966?

3.0.0ubuntu1.1, 3.0.0ubuntu0.25.04.1, 2.7.7ubuntu5.1, 2.4.0ubuntu4.1, 2.0.1ubuntu0.20.04.1+esm1 and 1.6.6ubuntu0.1~esm1, per the CVE record by canonical. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-6966?

Medium (6.9, CVSS 4.0, from canonical). The severity table above shows each score with its source.

Where is the official record of CVE-2025-6966?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.