Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for APT by Debian

    CVE-2026-109518 (GCVE-0-2026-109518)

    Vulnerability from cvelistv5 – Published: 2026-11-04 15:49 – Updated: 2026-11-05 04:56
    VLAI
    Title
    APT RCE via hard link reuse
    Summary
    On Debian, Ubuntu, and derivative Linux distributions, an on-path attacker who can manipulate the HTTP traffic (including a malicious mirror or proxy) between an APT client and an archive server triggered by a package install can trick the client into installing an attacker-controlled unverified package and achieve remote code execution with root privileges. The vulnerability is caused by the reuse of hard links and requires the client to follow redirects and retry the download of package files. It requires the client to have a non-zero Acquire::Retries configuration setting; the value 3 is the default starting with Debian 12 (bookworm) and Ubuntu 22.04 LTS (Jammy Jellyfish), so older releases are unaffected in a default configuration
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-04 00:00 UTC
    CWE
    • CWE-62 - UNIX hard link
    • CWE-367 - Time-of-check time-of-use (TOCTOU) race condition
    Assigner
    canonical CNA
    Impacted products
    Vendor Product Version
    Debian APT Affected: 0 , < 1.2.36 (dpkg)
    Affected: 1.4.0 , < 1.4.12 (dpkg)
    Affected: 1.6.0 , < 1.6.19 (dpkg)
    Affected: 1.8.0 , < 1.8.2.4 (dpkg)
    Affected: 1.8.3 , ≤ 1.8.5 (dpkg)
    Affected: 2.0.0 , < 2.0.12 (dpkg)
    Affected: 2.2.0 , < 2.2.5 (dpkg)
    Affected: 2.4.0 , < 2.4.15 (dpkg)
    Affected: 2.6.0 , < 2.6.2 (dpkg)
    Affected: 2.8.0 , < 2.8.4 (dpkg)
    Affected: 3.0.0 , < 3.0.4 (dpkg)
    Affected: 3.2.0 , < 3.2.1 (dpkg)
    Affected: 3.3.0 , < 3.3.6 (dpkg)
    Create a notification for this product.
    Ubuntu APT Affected: 0 , < 1.0.1ubuntu2.24+esm4 (dpkg)
    Affected: 1.2.0 , < 1.2.36+esm1 (dpkg)
    Affected: 1.6.0 , < 1.6.19+esm1 (dpkg)
    Affected: 2.0.0 , < 2.0.12+esm1 (dpkg)
    Affected: 2.4.0 , < 2.4.15ubuntu0.1 (dpkg)
    Affected: 2.8.0 , < 2.8.4ubuntu0.1 (dpkg)
    Affected: 3.2.0 , < 3.2.1ubuntu0.1 (dpkg)
    Affected: 3.3.0 , < 3.3.3ubuntu0.1 (dpkg)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2026-11-05T00:12:15.622Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "url": "https://lists.debian.org/debian-lts-announce/2026/11/msg00004.html"
              },
              {
                "url": "http://www.openwall.com/lists/oss-security/2026/11/04/12"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-109518",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-04T00:00:00+00:00",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-05T04:56:46.536Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "apt",
              "product": "APT",
              "vendor": "Debian",
              "versions": [
                {
                  "lessThan": "1.2.36",
                  "status": "affected",
                  "version": "0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "1.4.12",
                  "status": "affected",
                  "version": "1.4.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "1.6.19",
                  "status": "affected",
                  "version": "1.6.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "1.8.2.4",
                  "status": "affected",
                  "version": "1.8.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThanOrEqual": "1.8.5",
                  "status": "affected",
                  "version": "1.8.3",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.0.12",
                  "status": "affected",
                  "version": "2.0.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.2.5",
                  "status": "affected",
                  "version": "2.2.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.4.15",
                  "status": "affected",
                  "version": "2.4.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.6.2",
                  "status": "affected",
                  "version": "2.6.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.8.4",
                  "status": "affected",
                  "version": "2.8.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "3.0.4",
                  "status": "affected",
                  "version": "3.0.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "3.2.1",
                  "status": "affected",
                  "version": "3.2.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "3.3.6",
                  "status": "affected",
                  "version": "3.3.0",
                  "versionType": "dpkg"
                }
              ]
            },
            {
              "defaultStatus": "unaffected",
              "packageName": "apt",
              "product": "APT",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "1.0.1ubuntu2.24+esm4",
                  "status": "affected",
                  "version": "0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "1.2.36+esm1",
                  "status": "affected",
                  "version": "1.2.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "1.6.19+esm1",
                  "status": "affected",
                  "version": "1.6.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.0.12+esm1",
                  "status": "affected",
                  "version": "2.0.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.4.15ubuntu0.1",
                  "status": "affected",
                  "version": "2.4.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "2.8.4ubuntu0.1",
                  "status": "affected",
                  "version": "2.8.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "3.2.1ubuntu0.1",
                  "status": "affected",
                  "version": "3.2.0",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "3.3.3ubuntu0.1",
                  "status": "affected",
                  "version": "3.3.0",
                  "versionType": "dpkg"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Max Justicz"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Julian Andres Klode"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "On Debian, Ubuntu, and derivative Linux distributions, an on-path attacker who can manipulate the HTTP traffic (including a malicious mirror or proxy) between an APT client and an archive server triggered by a package install can trick the client into installing an attacker-controlled unverified package and achieve remote code execution with root privileges.\n\n\n\nThe vulnerability is caused by the reuse of hard links and requires the client to follow redirects and retry the download of package files. It requires the client to have a non-zero\u00a0Acquire::Retries configuration setting; the value 3 is the default starting with Debian 12 (bookworm) and Ubuntu 22.04 LTS (Jammy Jellyfish), so older releases are unaffected in a default configuration"
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 7.7,
                "baseSeverity": "HIGH",
                "exploitMaturity": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-62",
                  "description": "CWE-62 UNIX hard link",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-367",
                  "description": "CWE-367 Time-of-check time-of-use (TOCTOU) race condition",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-04T15:49:02.951Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://lists.debian.org/debian-security-announce/2026/msg00526.html"
            },
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/notices/USN-8996-1"
            }
          ],
          "title": "APT RCE via hard link reuse",
          "x_generator": {
            "engine": "cvelib 1.8.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2026-109518",
        "datePublished": "2026-11-04T15:49:02.951Z",
        "dateReserved": "2026-10-12T18:44:13.619Z",
        "dateUpdated": "2026-11-05T04:56:46.536Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2020-3810 (GCVE-0-2020-3810)

    Vulnerability from cvelistv5 – Published: 2020-05-15 13:42 – Updated: 2024-09-17 01:01
    VLAI
    Summary
    Missing input validation in the ar/tar implementations of APT before version 2.1.2 could result in denial of service when processing specially crafted deb files.
    Severity
    No CVSS data available.
    CWE
    • apt out-of-bounds read in .ar/.tar implemations
    Assigner
    debian CNA
    Impacted products
    Vendor Product Version
    Debian apt Affected: before 2.1.2
    Create a notification for this product.
    Date Public
    2020-05-14 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T07:44:51.170Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/Debian/apt/issues/111"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://bugs.launchpad.net/bugs/1878177"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://salsa.debian.org/apt-team/apt/-/commit/dceb1e49e4b8e4dadaf056be34088b415939cda6"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://lists.debian.org/debian-security-announce/2020/msg00089.html"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tracker.debian.org/news/1144109/accepted-apt-212-source-into-unstable/"
              },
              {
                "name": "USN-4359-1",
                "tags": [
                  "vendor-advisory",
                  "x_refsource_UBUNTU",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/4359-1/"
              },
              {
                "name": "USN-4359-2",
                "tags": [
                  "vendor-advisory",
                  "x_refsource_UBUNTU",
                  "x_transferred"
                ],
                "url": "https://usn.ubuntu.com/4359-2/"
              },
              {
                "name": "FEDORA-2020-f03cfe3df5",
                "tags": [
                  "vendor-advisory",
                  "x_refsource_FEDORA",
                  "x_transferred"
                ],
                "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4PEH357MZM2SUGKETMEHMSGQS652QHH/"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "apt",
              "vendor": "Debian",
              "versions": [
                {
                  "status": "affected",
                  "version": "before 2.1.2"
                }
              ]
            }
          ],
          "datePublic": "2020-05-14T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "Missing input validation in the ar/tar implementations of APT before version 2.1.2 could result in denial of service when processing specially crafted deb files."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "apt out-of-bounds read in .ar/.tar implemations",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-07-19T02:06:08.000Z",
            "orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
            "shortName": "debian"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/Debian/apt/issues/111"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://bugs.launchpad.net/bugs/1878177"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://salsa.debian.org/apt-team/apt/-/commit/dceb1e49e4b8e4dadaf056be34088b415939cda6"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://lists.debian.org/debian-security-announce/2020/msg00089.html"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tracker.debian.org/news/1144109/accepted-apt-212-source-into-unstable/"
            },
            {
              "name": "USN-4359-1",
              "tags": [
                "vendor-advisory",
                "x_refsource_UBUNTU"
              ],
              "url": "https://usn.ubuntu.com/4359-1/"
            },
            {
              "name": "USN-4359-2",
              "tags": [
                "vendor-advisory",
                "x_refsource_UBUNTU"
              ],
              "url": "https://usn.ubuntu.com/4359-2/"
            },
            {
              "name": "FEDORA-2020-f03cfe3df5",
              "tags": [
                "vendor-advisory",
                "x_refsource_FEDORA"
              ],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U4PEH357MZM2SUGKETMEHMSGQS652QHH/"
            }
          ],
          "source": {
            "advisory": "https://www.debian.org/security/2020/dsa-4685",
            "discovery": "EXTERNAL"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@debian.org",
              "DATE_PUBLIC": "2020-05-14T00:00:00.000Z",
              "ID": "CVE-2020-3810",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "apt",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "before 2.1.2"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Debian"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "Missing input validation in the ar/tar implementations of APT before version 2.1.2 could result in denial of service when processing specially crafted deb files."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "apt out-of-bounds read in .ar/.tar implemations"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/Debian/apt/issues/111",
                  "refsource": "MISC",
                  "url": "https://github.com/Debian/apt/issues/111"
                },
                {
                  "name": "https://bugs.launchpad.net/bugs/1878177",
                  "refsource": "MISC",
                  "url": "https://bugs.launchpad.net/bugs/1878177"
                },
                {
                  "name": "https://salsa.debian.org/apt-team/apt/-/commit/dceb1e49e4b8e4dadaf056be34088b415939cda6",
                  "refsource": "MISC",
                  "url": "https://salsa.debian.org/apt-team/apt/-/commit/dceb1e49e4b8e4dadaf056be34088b415939cda6"
                },
                {
                  "name": "https://lists.debian.org/debian-security-announce/2020/msg00089.html",
                  "refsource": "MISC",
                  "url": "https://lists.debian.org/debian-security-announce/2020/msg00089.html"
                },
                {
                  "name": "https://tracker.debian.org/news/1144109/accepted-apt-212-source-into-unstable/",
                  "refsource": "MISC",
                  "url": "https://tracker.debian.org/news/1144109/accepted-apt-212-source-into-unstable/"
                },
                {
                  "name": "USN-4359-1",
                  "refsource": "UBUNTU",
                  "url": "https://usn.ubuntu.com/4359-1/"
                },
                {
                  "name": "USN-4359-2",
                  "refsource": "UBUNTU",
                  "url": "https://usn.ubuntu.com/4359-2/"
                },
                {
                  "name": "FEDORA-2020-f03cfe3df5",
                  "refsource": "FEDORA",
                  "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U4PEH357MZM2SUGKETMEHMSGQS652QHH/"
                }
              ]
            },
            "source": {
              "advisory": "https://www.debian.org/security/2020/dsa-4685",
              "discovery": "EXTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5",
        "assignerShortName": "debian",
        "cveId": "CVE-2020-3810",
        "datePublished": "2020-05-15T13:42:05.044Z",
        "dateReserved": "2019-12-17T00:00:00.000Z",
        "dateUpdated": "2024-09-17T01:01:33.109Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }