Home / Debian / Advanced Package Tool / CVE-2012-0954
CVE-2012-0954: is it exploited, and which versions of Debian Advanced Package Tool are affected and fixed?
CVE-2012-0954 is an improper input validation vulnerability in Debian Advanced Package Tool. 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, 07:38 UTC). Affected: advanced package tool 0.7.0, advanced package tool 0.7.1, advanced package tool 0.7.2 and 37 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2012-0954?
APT 0.7.x before 0.7.25 and 0.8.x before 0.8.16, when using the apt-key net-update to import keyrings, relies on GnuPG argument order and does not check GPG subkeys, which might allow remote attackers to install altered packages via a man-in-the-middle (MITM) attack. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-3587.
From the CVE record by canonical, last updated September 16, 2024, 20:13 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| debian | advanced package tool | 0.7.0 | application |
| debian | advanced package tool | 0.7.1 | application |
| debian | advanced package tool | 0.7.2 | application |
| debian | advanced package tool | 0.7.2-0.1 | application |
| debian | advanced package tool | 0.7.10 | application |
| debian | advanced package tool | 0.7.11 | application |
| debian | advanced package tool | 0.7.12 | application |
| debian | advanced package tool | 0.7.13 | application |
| debian | advanced package tool | 0.7.14 | application |
| debian | advanced package tool | 0.7.15 | application |
| debian | advanced package tool | 0.7.16 | application |
| debian | advanced package tool | 0.7.17 | application |
| debian | advanced package tool | 0.7.18 | application |
| debian | advanced package tool | 0.7.19 | application |
| debian | advanced package tool | 0.7.20 | application |
| debian | advanced package tool | 0.7.20.1 | application |
| debian | advanced package tool | 0.7.20.2 | application |
| debian | advanced package tool | 0.7.21 | application |
| debian | advanced package tool | 0.7.22 | application |
| debian | advanced package tool | 0.7.22.1 | application |
| debian | advanced package tool | 0.7.22.2 | application |
| debian | advanced package tool | 0.7.23 | application |
| debian | advanced package tool | 0.7.23.1 | application |
| debian | advanced package tool | 0.7.24 | application |
| debian | advanced package tool | 0.8.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:38 UTC.
How severe is CVE-2012-0954?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:P/A:N | NVD |
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-2012-0954 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.19% probability of exploitation activity in the next 30 days, percentile 82.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- 20120614 Using second gpg keyring may be misleading? mailing-list, x_refsource_FULLDISC
- 54046 vdb-entry, x_refsource_BID
- 20120612 Strange gpg key shadowing mailing-list, x_refsource_FULLDISC
- USN-1477-1 vendor-advisory, x_refsource_UBUNTU
- USN-1475-1 vendor-advisory, x_refsource_UBUNTU
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013128 x_refsource_CONFIRM
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013639 x_refsource_CONFIRM
- 20120615 ubuntu apt-key (part 3) mailing-list, x_refsource_FULLDISC
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013681 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- February 1, 2012
- Published
- June 19, 2012, 20:00 UTC
- CVE record updated
- September 16, 2024, 20:13 UTC by canonical
- NVD
- Modified, last modified June 16, 2026, 23:38 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Advanced Package Tool?
- Dec 5, 2017CVE-2016-1252 Debian Advanced Package Tool: improper certificate validation
- Nov 3, 2014CVE-2014-0490 Debian Advanced Package Tool: improper input validation
- Nov 3, 2014CVE-2014-0489 Debian Advanced Package Tool: improper input validation
- Nov 3, 2014CVE-2014-0488 Debian Advanced Package Tool: improper input validation
- Nov 3, 2014CVE-2014-0487 Debian Advanced Package Tool: n/a
- Oct 15, 2014CVE-2014-7206 Debian Advanced Package Tool: link following (a symlink lets an attacker reach other files)
- Sep 30, 2014CVE-2014-6273 Debian Advanced Package Tool: memory corruption (buffer overflow)
- Jun 17, 2014CVE-2014-0478 Debian Advanced Package Tool: improper input validation
Every CVE in Advanced Package Tool
Questions about CVE-2012-0954
Is CVE-2012-0954 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Debian Advanced Package Tool are affected by CVE-2012-0954?
advanced package tool 0.7.0, advanced package tool 0.7.1, advanced package tool 0.7.2, advanced package tool 0.7.2-0.1, advanced package tool 0.7.10, advanced package tool 0.7.11 and 34 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-0954?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-0954?
Low (2.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-0954?
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.