CVE-2026-109518

APT RCE via hard link reuse

High published · updated

7.7
CVSS score out of 10 · NVD (ubuntu.com)

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

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
apt debian 0 → <1.2.36; 1.4.0 → <1.4.12; 1.6.0 → <1.6.19; 1.8.0 → <1.8.2.4; ≤1.8.5; 2.0.0 → <2.0.12; 2.2.0 → <2.2.5; 2.4.0 → <2.4.15; 2.6.0 → <2.6.2; 2.8.0 → <2.8.4; 3.0.0 → <3.0.4; 3.2.0 → <3.2.1; 3.3.0 → <3.3.3.3.6 CVE.org
apt ubuntu 0 → <1.0.1ubuntu2.24+esm4; 1.2.0 → <1.2.36+esm1; 1.6.0 → <1.6.19+esm1; 2.0.0 → <2.0.12+esm1; 2.4.0 → <2.4.15ubuntu0.1; 2.8.0 → <2.8.4ubuntu0.1; 3.2.0 → <3.2.1ubuntu0.1; 3.3.0 → <3.3.3ubuntu0.13.3.3ubuntu0.1 CVE.org

References