Security Flaw in APT Package Manager
CVE-2012-3587
Currently unrated
Key facts: CVE-2012-3587 is a vulnerability in Debian Advanced Package Tool. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.6%, the estimated probability of exploitation in the next 30 days.
What is CVE-2012-3587?
A security flaw in APT versions prior to 0.7.25 and 0.8.16 allows for exploitation through the improper handling of GnuPG argument order. This vulnerability occurs when using the apt-key net-update command to import keyrings, failing to verify GPG subkeys. As a result, attackers can execute man-in-the-middle (MITM) attacks to exploit this weakness, potentially enabling them to install malicious packages disguised as legitimate software.
References
http://seclists.org/fulldisclosure/2012/Jun/267
mailing-listx_refsource_FULLDISC
http://www.ubuntu.com/usn/USN-1477-1
vendor-advisoryx_refsource_UBUNTU
http://www.ubuntu.com/usn/USN-1475-1
vendor-advisoryx_refsource_UBUNTU
More Debian vulnerabilities
- CVE-2026-109518: Remote Code Execution Vulnerability in Debian and Ubuntu Package Management(HIGH)
- CVE-2025-8454: OpenPGP Verification Bypass in Devscripts Tool Affecting Debian(CRITICAL)