BreachSpiderVerified, not vibes

CVE-2009-1358 in Debian Advanced Package Tool and 1 more product

Critical 10.0

apt-get in apt before 0.7.21 does not check for the correct error code from gpgv, which causes apt to treat a repository as valid even when it has been signed with a key that has been revoked or expired, which might allow remote attackers to trick apt into installing malicious repositories.

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 2.010.0
EPSS4.5%
EPSS percentile92th
FixUnknown

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Debian Advanced Package Tool 0.7.20.1 0.7.20.2 0.7.21 ≤ 0.7.20
Debian Apt 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6
+141 more0.0.7 0.0.8 0.0.9 0.0.10 0.0.11 0.0.12 0.0.13 0.0.13-bo1 0.0.14 0.0.15 0.0.15-0.1bo 0.0.15-0.2bo 0.0.16-1 0.0.17-1 0.1 0.1.1 0.1.3 0.1.5 0.1.6 0.1.7 0.1.9 0.3.0 0.3.1 0.3.2 0.3.3 0.3.4 0.3.6 0.3.7 0.3.9 0.3.11 0.3.12 0.3.13 0.3.14 0.3.15 0.3.16 0.3.17 0.3.18 0.3.19 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.5.1 0.5.6 0.5.7 0.5.8 0.5.9 0.5.10 0.5.11 0.5.12 0.5.13 0.5.14 0.5.15 0.5.16 0.5.17 0.5.18 0.5.19 0.5.20 0.5.21 0.5.22 0.5.23 0.5.24 0.5.25 0.5.26 0.5.27 0.5.28 0.5.29 0.5.30 0.5.31 0.5.32 0.6.0 0.6.1 0.6.2 0.6.3 0.6.4 0.6.5 0.6.6 0.6.7 0.6.8 0.6.9 0.6.10 0.6.11 0.6.12 0.6.13 0.6.14 0.6.15 0.6.16 0.6.17 0.6.18 0.6.19 0.6.20 0.6.21 0.6.22 0.6.23 0.6.24 0.6.25 0.6.27 0.6.28 0.6.29 0.6.30 0.6.31 0.6.32 0.6.33 0.6.34 0.6.35 0.6.36 0.6.37 0.6.38 0.6.39 0.6.40 0.6.40.1 0.6.41 0.6.42 0.6.42.1 0.6.42.2 0.6.42.3 0.6.43 0.6.43.1 0.6.43.2 0.6.43.3 0.6.44 0.6.44.1 0.6.44.1-0.1 0.6.44.2 0.6.45 0.6.46 0.6.46.1 0.6.46.2 0.6.46.3 0.6.46.3-0.1 0.6.46.3-0.2 0.6.46.4-0.1 0.7.3 0.7.4 0.7.5 0.7.6 0.7.7 0.7.8 0.7.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

apt-get in apt before 0.7.21 does not check for the correct error code from gpgv, which causes apt to treat a repository as valid even when it has been signed with a key that has been revoked or expired, which might allow remote attackers to trick apt into installing malicious repositories.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2009-1358
BreachSpider IDBS-2009-GLOBAL-083087-C
CVSS vectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Published2009-04-21
Last modified2026-06-16
SourceNVD

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2009. A critical vulnerability affects Debian systems (CVE-2009-1358). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: apt-get in apt before 0.7.21 does not check for the correct error code from gpgv, which causes apt to treat a repository as valid even when it has been signed with a key that has been revoked or expired, which might allow remote attackers to trick apt into installing malicious repositories. CVSS vector: AV:N/AC:L/Au:N/C:C/I:C/A:C.

Questions

What is CVE-2009-1358?

This vulnerability was disclosed in 2009. A critical vulnerability affects Debian systems (CVE-2009-1358). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2009-1358?

CVE-2009-1358 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 4.5%.

Is CVE-2009-1358 actively exploited?

No confirmed active exploitation of CVE-2009-1358 as of 2026-09-25.

How do I remediate CVE-2009-1358?

Priority: MEDIUM.

What systems are affected by CVE-2009-1358?

CVE-2009-1358 affects Debian Advanced Package Tool, Apt.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Advanced Package Tool","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.