This is the first stable release of the 1.6.z release branch of runc.
It contains a handful of fixes and a few dependency bumps, including
one fixing a medium security issue.
This release follows our release and support policy (see RELEASES.md
for more details). This means that, as of this release:
- The runc 1.3.z (and earlier) release branches are now unsupported.
- The runc 1.4.z release branch will now only receive high severity
CVE fixes, and will no longer be supported in less than 6 months
(end of April 2027). - The runc 1.5.z release branch will now only receive security and
"significant" bugfixes. - Users are encouraged to plan migrating to runc 1.6.0 as soon as
possible. - Despite this release being delayed by almost a month, users should
still expect a runc 1.7.0 release in late April 2027.
Security
This release includes github.com/moby/sys/user v0.5.1, which fixes the
following medium-severity security issue:
- CVE-2026-135844 allowed unbounded reads when parsing user and group
files. In runc, a malicious image with a huge/etc/passwdcould make
runc initconsume excessive memory and CPU while looking up the user's
home directory (which is done whenHOMEis not set in the process
environment). (#5631)
Added
THREAT_MODEL.mddescribes what runc does and does not consider a security
vulnerability, to help security researchers and automated scanners. It is
linked fromSECURITY.md. (#5361, #5566)
Fixed
- When the container does not have its own cgroup namespace, runc no longer
mounts a new cgroup v2 filesystem instance for/sys/fs/cgroup, as doing so
could change host cgroupfs mount options such asnsdelegate. Instead, the
existing cgroup v2 hierarchy is bind mounted. (#5258, #5267) - Fixed a buffer overflow in runc init when more than 5 user namespace ID
mappings are set usingnewuidmap/newgidmap(as it happens with rootless
runc), which resulted in afailed to execv: Bad addresserror. Up to 340
mappings (the kernel limit) are now supported. (#5507) - The bash completion is now in sync with runc commands and options, and
a CI test ensures it stays that way. (#5299, #5568) - The
--pidfd-socketoption is now documented inrunc-create(8),
runc-exec(8)andrunc-run(8)man pages. (#5568)
Changed
- Switched to opencontainers/cgroups v0.1.2, which no longer depends on
cilium/ebpf and, indirectly, crypto packages. The new version also fixes
CPU quota overflow andcpu.maxrounding in the systemd driver, and adds
support for zswap unified resources. (#5612, #5623) - Updated dependencies: golang.org/x/sys to v0.50.0, golang.org/x/net to
v0.63.0. (#5618, #5632)
Static Linking Notices
The runc binaries distributed with this release are statically linked with
the following GNU LGPL-2.1 licensed libraries, with runc acting
as a "work that uses the Library":
Similarly, the runc binaries distributed with this release are also
statically linked with the following MPLv2 licensed libraries,
with runc acting as a "Larger Work":
The versions of these libraries were not modified from their upstream versions,
but in order to comply with their corresponding licenses, we have attached the
complete source code for those libraries which (when combined with the attached
runc source code) may be used to exercise your rights under their respective
licenses.
However, we strongly suggest that you make use of your distribution's packages
or download them from the authoritative upstream sources, especially since
these libraries are related to the security of your containers.
Thanks to the following contributors who made this release possible:
- Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp
- Alhuda Khan al.hudz.k@gmail.com
- Giuseppe Scrivano giuseppe@scrivano.org
- immanuwell pchpr.00@list.ru
- Kir Kolyshkin kolyshkin@gmail.com
- Li Fu Bang lifubang@acmcoder.com
- Rodrigo Campos rodrigo@sdfg.com.ar
- sean xujihui1985@gmail.com
- Sebastiaan van Stijn github@gone.nl
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com