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…
- 2.6LowCVSS base score
- 2.2%Exploitation in 30 daysEPSS · top 17% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By canonical
- 5 months later
· 5 months later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Low2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.2% · top 17% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.6.
Affected products
n/a
- affected n/a
References
9
- 20120614 Using second gpg keyring may be misleading? (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- 54046 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20120612 Strange gpg key shadowing (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- USN-1477-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-1475-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013128 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013639 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20120615 ubuntu apt-key (part 3) (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013681 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2012-0977 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-0954)Record last updated .