On November 25, 2026, Debian published security advisory DSA-6656-1 for runc, the tool that starts containers. The update closes three flaws in Debian 13 "trixie" that, in some setups, can give a container a way into the host system. Debian asks everyone who uses runc to upgrade the package.
What it means
A container is a sealed box for a program. The program inside gets its own files and should not see the rest of the computer. runc is the small tool that builds these boxes and starts them. Well-known container tools, such as Docker and Podman, can hand this job to runc.
Picture an apartment building. Each container is one apartment, and runc is the caretaker who gets it ready before a tenant moves in. The three bugs are tricks that let a tenant fool the caretaker into unlocking the building's utility room. From there, the tenant could switch things off for everyone, or in the worst case walk into the rest of the building.
The comparison stops working at one point. The "tenant" is not a person. It is a container image, a ready-made bundle of software that a stranger may have built.
The bugs matter to people who run containers on Debian (a free version of Linux), in particular Debian 13 "trixie" and Debian 12 "bookworm". Most home desktop users run no containers. The danger grows when you start images from people you do not fully trust.
On Debian 13, the fix comes with the normal system updates, so install them. If someone else manages your server, ask them to check runc. Debian 12 has no fix yet, and the next section explains how to lower the risk there.
Back to topHow to use it
Which Debian versions are fixed
DSA-6656-1 covers Debian 13 "trixie", the current stable release, with the fixed package runc 1.1.15+ds1-2+deb13u1. The Debian security tracker also lists "forky" and "sid" as fixed. Both ship runc 1.3.6+ds1-1.
Debian 12 "bookworm" is still exposed. On November 27, 2026, the tracker showed its runc package, version 1.1.5+ds1-1+deb12u1, as vulnerable to all three flaws.
Update runc on Debian 13
If you run containers on trixie, install this update. Start by refreshing the package lists:
sudo apt update
This fetches the newest list of available packages from the repositories your system uses.
Next, upgrade runc:
sudo apt install --only-upgrade runc
This upgrades runc where it is already installed, and leaves systems without runc alone.
Then confirm the result:
apt policy runc
This prints the installed version next to the candidate version. On trixie, you should see 1.1.15+ds1-2+deb13u1 or a newer version as installed.
The steps above are for Debian only. Ubuntu and Linux Mint use apt too, but DSA-6656-1 does not apply to them. On any other distribution, read the security notices from your vendor.
Does your container tool matter?
Two of the flaws, CVE-2025-31133 and CVE-2025-52565, can affect any tool that relies on runc. CVE-2026-41579 behaves differently. According to the runc developers, Docker is not affected by it. Podman and containerd lack that protection, so their users can be exposed when runc is the runtime.
If you are on bookworm
Until bookworm gets a fixed package, you can still lower the risk. The most important step is simple: only run container images from sources you trust. The upstream runc advisory also names a few protective settings:
- Use user namespaces, so that the host root user is not mapped into the container.
- Run container processes as a non-root user with the
noNewPrivilegessetting. - Keep the default AppArmor profile active.
These settings help. They are no substitute for a fixed package.
Back to topHow it works
The three CVEs
DSA-6656-1 lists CVE-2025-31133, CVE-2025-52565 and CVE-2026-41579. Depending on the configuration, Debian names three possible results: exposed host resources, denial of service or container escape.
CVE-2025-31133 abuses masked paths. To hide some sensitive files, runc bind-mounts /dev/null over them. An attacker swaps /dev/null inside the container for a symlink to a procfs file, and runc then bind-mounts that procfs target read-write. Every known runc version has this bug. It scores 7.3 on CVSS 4.0.
CVE-2025-52565 is a race condition in the bind-mount for /dev/console. During setup, an attacker replaces /dev/pts/$n with a symlink, so the mount lands on a different target. It affects runc 1.0.0-rc3 and later, again with a CVSS 4.0 score of 7.3.
Both bugs trigger after pivot_root(2), so they cannot write to host files directly. Instead, the container gets a writable bind-mount of sensitive procfs files. That can lead to a denial of service on the host, or to a breakout. The attacks need a custom mount configuration. In practice, they matter most when a host runs untrusted images.
Vendors first learned of the two bugs on October 16, 2025. Aleksa Sarai (SUSE) posted the public advisory on oss-security on November 5, 2025. Upstream fixed them in runc 1.2.8, 1.3.3 and 1.4.0-rc.3.
CVE-2026-41579 (GHSA-xjvp-4fhw-gc47) became public on June 13, 2026. A malicious image ships a /dev symlink, and runc follows it. runc can then delete host files named ptmx and create a fixed set of symlinks inside an existing host directory. The weakness class is CWE-61, symlink following.
The faulty code sits in setupPtmx and setupDevSymlinks, which build paths with filepath.Join. With user namespaces, the damage mostly stays within world-writable directories. Upstream rates the flaw as low, with a CVSS 3.1 score of 3.3.
Affected are runc up to 1.3.5, up to 1.4.2 and up to 1.5.0-rc.2. Versions 1.3.6, 1.4.3 and 1.5.0-rc.3 fix it. Docker avoids the bug because it adds a read-only top layer that masks the symlinks.
Version numbers and backports
The trixie package is based on runc 1.1.15, while upstream fixed the 2025 bugs in 1.2.8 and 1.3.3. Debian probably backported the patches into its older version. Go by the Debian package version, not the upstream number.
How the mitigations map to the CVEs
The 2025 upstream advisory explains the settings from the previous section in more detail. Security modules do not protect equally against the two 2025 bugs:
- The default AppArmor profile can block the procfs writes that CVE-2025-31133 needs.
- SELinux does not help against CVE-2025-31133. According to the advisory, it may help against CVE-2025-52565.
- User namespaces with the host root user unmapped, and non-root processes with
noNewPrivileges, are the general mitigations in the same advisory.
For CVE-2026-41579, the upstream advisory says user namespaces limit the damage, as described above.
What the advisory does not cover
The 2025 upstream disclosure also included CVE-2025-52881, an LSM bypass. DSA-6656-1 leaves it out. Rootless containers were named as a mitigation for that related bug.
Still unclear:
- The Debian advisory does not say which impact belongs to which CVE.
- DSA-6656-1 does not mention bookworm.
- The sources do not confirm that Debian backported the upstream patches.
Sources
- DSA-6656-1 runc - security update — Debian Security Announce
- runc security tracker — Debian Security Tracker
- runc container breakout vulnerabilities (CVE-2025-31133, CVE-2025-52565, CVE-2025-52881) — oss-security (Openwall)
- GHSA-xjvp-4fhw-gc47 (CVE-2026-41579) — GitHub, opencontainers/runc
