Description

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

Severity (CVSS)

Base score7.7
SeverityHigh
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Provided byCNA

Weaknesses

  • CWE-62 — CWE-62 UNIX hard link
  • CWE-367 — CWE-367 Time-of-check time-of-use (TOCTOU) race condition

Affected products

VendorProductVersions
DebianAPT0 to <1.2.36 [affected]; 1.4.0 to <1.4.12 [affected]; 1.6.0 to <1.6.19 [affected]; 1.8.0 to <1.8.2.4 [affected]; 1.8.3 to <=1.8.5 [affected]; 2.0.0 to <2.0.12 [affected]; 2.2.0 to <2.2.5 [affected]; 2.4.0 to <2.4.15 [affected]; 2.6.0 to <2.6.2 [affected]; 2.8.0 to <2.8.4 [affected]; 3.0.0 to <3.0.4 [affected]; 3.2.0 to <3.2.1 [affected]; 3.3.0 to <3.3.6 [affected]
UbuntuAPT0 to <1.0.1ubuntu2.24+esm4 [affected]; 1.2.0 to <1.2.36+esm1 [affected]; 1.6.0 to <1.6.19+esm1 [affected]; 2.0.0 to <2.0.12+esm1 [affected]; 2.4.0 to <2.4.15ubuntu0.1 [affected]; 2.8.0 to <2.8.4ubuntu0.1 [affected]; 3.2.0 to <3.2.1ubuntu0.1 [affected]; 3.3.0 to <3.3.3ubuntu0.1 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 05 Nov 2026 08:03 UTC.