github opencontainers/runc v1.6.0
runc v1.6.0 -- "All's well that ends well."

31 minutes ago

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/passwd could make
    runc init consume excessive memory and CPU while looking up the user's
    home directory (which is done when HOME is not set in the process
    environment). (#5631)

Added

  • THREAT_MODEL.md describes what runc does and does not consider a security
    vulnerability, to help security researchers and automated scanners. It is
    linked from SECURITY.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 as nsdelegate. 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 using newuidmap/newgidmap (as it happens with rootless
    runc), which resulted in a failed to execv: Bad address error. 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-socket option is now documented in runc-create(8),
    runc-exec(8) and runc-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 and cpu.max rounding 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:

Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

Don't miss a new runc release

NewReleases is sending notifications on new releases.