Repository navigation
Releases
runc v1.6.0 -- "All's well that ends well."
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
runc v1.6.0-rc.2 -- "To celebrate the fact that we've seen the back of another black day."
This is the second release candidate of the upcoming runc 1.6.0 release.
It includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, a couple of new
features, and various fixes and improvements.
This version includes all of the patches backported to runc v1.5.3.
Users are strongly encouraged to test our release candidates so we can
fix issues before the general release.
Security
This release includes a fix for the following high-severity security issue:
-
CVE-2026-119101 allowed a malicious image, using crafted symlinks in
its rootfs, to confuse the way runc names external mounts for CRIU, and so
makerunc restorebind-mount an arbitrary host directory into the restored
container, read-write. Only users who both checkpoint and later restore
containers running untrusted images are affected (checkpoint/restore
requires root, so rootless runc is not affected). The same issue was found
in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.In addition,
runc restoreno longer makes read-only bind mounts writable,
even temporarily, while preparing the container mounts.
Breaking
- A mount destination prefixed with the container rootfs path is no longer
treated specially (previously, the prefix was stripped). As the runtime spec
says, the destination is a path inside the container, and it is now used
as such. (#5556)
Added
- New
--cgroup-managerglobal option, to select the cgroup manager
(cgroupfsorsystemd). This is compatible with crun. (#5570) - docs/spec-conformance.md now documents the known deviations from the
runtime spec. (#1846, #5528)
Deprecated
libcontainer.Stats.Interfacesandtypes.Stats.NetworkInterfaces(shown
asnetwork_interfacesinrunc events --statsoutput) are deprecated, as
they are always empty since the removal of veth network strategy in runc
1.0.0-rc6. (#5523)- The
--systemd-cgroupglobal option is deprecated in favor of
--cgroup-manager=systemd. It still works, and there are no plans to
remove it. (#5570)
Changed
- A container configuration which uses
--no-pivotor sets
linux.rootfsPropagation, but does not have its own mount namespace, is now
refused. Previously,--no-pivotresulted in host's/procand/sysbeing
unmounted, androotfsPropagationchanged the propagation of host mounts.
(#5535) - Using
/as container rootfs is now refused. Previously, it failed with a
mount namespace, and without one, container mounts (such as/proc) were
mounted on top of the host ones. (#5535) - Mount errors now quote the source, destination and mount data, so that
control characters in them can not hide or garble the error message.
(#5320, #5560) - The log file (
--log) is no longer opened withO_SYNC, which made every
log write wait for the data to reach the disk. (#5547) - runc no longer prints CRIU requests and responses in debug logs (CRIU logs
what it does in its own log files anyway). Together with not linking in the
DNS resolver and godbus/dbus TCP transports (the newgodbus_no_tcpbuild
tag), this makes the runc binary about 200 KB smaller. (#5515, #5516, #5546) - The bash completion file no longer has a shebang line, as it is sourced,
not executed. (#5526) - Updated dependencies: checkpoint-restore/go-criu to v8.5.0,
moby/sys/mountinfo to v0.7.3, moby/sys/user to v0.5.0, golang.org/x/net to
v0.62.0, and golang.org/x/sys to v0.49.0. (#5553, #5555, #5562, #5578,
#5603, #5604, #5607)
Fixed
- runc now errors out when seccomp
defaultErrnoRetorerrnoRetis set for
an action which does not support it (i.e. anything other than
SCMP_ACT_ERRNOandSCMP_ACT_TRACE), as required by the runtime spec.
Previously, such values were silently ignored. (#5550, #5564) - runc no longer hangs if
runc initis partially killed (for example, by a
seccompSCMP_ACT_KILLrule hitting its main thread). (#5087, #5431) runc runandrunc execrun as a background job of a shell no longer
occasionally busy-loop when reading from the terminal; instead, they are
stopped bySIGTTIN, as expected, and can be resumed withfg.
(#1430, #5525)- A network device name (
linux.netDevices) of 16 bytes is now rejected
during validation. Previously, runc failed later, after the host interface
was already set down, leaving it down. (#5606) - Some file descriptors opened by runc were not marked close-on-exec, and so
could leak into the container processes (notably, an inotify fd used for
OOM notifications leaked into everyrunc execprocess). (#5480)
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
- Benjamin Peterson benjamin@engflow.com
- Eduard Zateev hackerowskiy@gmail.com
- Kaj Kowalski info@kajkowalski.nl
- Kir Kolyshkin kolyshkin@gmail.com
- Lucas Sotomayor sotomayorlucas@pm.me
- Raphael Fakhri mail@raphaelfakhri.com
- Sebastiaan van Stijn github@gone.nl
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
runc v1.5.3 -- "Let me hear you make decisions without your television."
This is the third patch release in the 1.5.z release series of runc. It
includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, as well as a few
other fixes. Users are encouraged to update.
Security
This release includes a fix for the following high-severity security issue:
-
CVE-2026-119101 allowed a malicious image, using crafted symlinks in
its rootfs, to confuse the way runc names external mounts for CRIU, and so
makerunc restorebind-mount an arbitrary host directory into the restored
container, read-write. Only users who both checkpoint and later restore
containers running untrusted images are affected (checkpoint/restore
requires root, so rootless runc is not affected). The same issue was found
in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.In addition,
runc restoreno longer makes read-only bind mounts writable,
even temporarily, while preparing the container mounts.
Fixed
- Running a container which does not have its own mount namespace no longer
changes the propagation of host's/and of the parent mount of the
container rootfs (they were made private or slave). (#5537, #5581) - When making the container rootfs read-only (
root.readonly), runc no longer
clears thenosuid,nodev,noexecandnosymfollowflags of the rootfs
mount (this only happened when not using a user namespace). (#5588, #5601) - The
defaultsmount option is no longer passed to the kernel as
filesystem-specific mount data, which made mounting filesystems that do not
accept it (such astmpfs) fail. (#5500, #5520, #5602)
Changed
- Updated github.com/moby/sys/capability to v0.5.0. (#5598, #5600)
- Various CI improvements. (#5481, #5482, #5488, #5574, #5586, #5590, #5609,
#5615)
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:
- Kir Kolyshkin kolyshkin@gmail.com
- Li Fu Bang lifubang@acmcoder.com
- Lucas Sotomayor sotomayorlucas@pm.me
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
runc v1.4.4 -- "Never again is what you swore the time before."
This is the fourth patch release of the 1.4.z series of runc. It
includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, a workaround for
a Linux kernel bug causing random runc crashes when using cgroup v2, and
other fixes. Users are encouraged to update.
Security
This release includes a fix for the following high-severity security issue:
-
CVE-2026-119101 allowed a malicious image, using crafted symlinks in
its rootfs, to confuse the way runc names external mounts for CRIU, and so
makerunc restorebind-mount an arbitrary host directory into the restored
container, read-write. Only users who both checkpoint and later restore
containers running untrusted images are affected (checkpoint/restore
requires root, so rootless runc is not affected). The same issue was found
in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.In addition,
runc restoreno longer makes read-only bind mounts writable,
even temporarily, while preparing the container mounts.
Added
runc versionandrunc featuresnow provide version information about
libpathrs when runc is built with thelibpathrsbuild tag. (#5291, #5328)
Changed
- For users making use of the
libpathrsbuild tag, runc now depends on
libpathrs v0.2.5 or later, and attempting to build with older versions will
cause compilation errors. (#5291, #5333) - Switched to opencontainers/cgroups v0.1.0, which no longer uses the
high-level cilium/ebpf API to manage cgroup v2 device rules. As a result,
the runc binary shrunk by about 1 MiB (7.5%) on amd64. (#5403, #5583) - Updated builds to Go 1.26. (#5413, #5583)
- Updated github.com/moby/sys/capability to v0.5.0. (#5598, #5599)
- Various CI improvements. (#5383, #5395, #5401, #5408, #5279, #5613)
Fixed
- Worked around a Linux kernel bug (present since kernel v6.17, fixed in v7.2)
which caused the kernel to write past the end of the structure
provided by userspace (runc). This resulted in memory corruption inside runc
(manifesting as random crashes) when configuring device rules on cgroup v2
systems. (#5403, #5583) runc exec --cgroup(and the equivalent libcontainerProcess.SubCgroupPaths
API) no longer accepts a sub-cgroup path that escapes the container's cgroup
into a sibling cgroup sharing the same name prefix. Note that using
--cgrouprequires the same privileges as runningrunc execitself, so
this is a correctness rather than a security fix. (#5403, #5583)- Fixed a missing
O_CLOEXECwhen opening the cgroup v2 directory to set up
device rules. (#5403, #5583) - Running a container which does not have its own mount namespace no longer
changes the propagation of host's/and of the parent mount of the
container rootfs (they were made private or slave). (#5537, #5582) - Since runc 1.3.0, the
org.opencontainers.runc.versionannotation included
inrunc featurescontained an extraneous\n, possibly causing issues with
tools that parse the output. It is now properly stripped. (#5329, #5330,
#5331, #5335, #5336) - On Ubuntu Focal (20.04), the
maskPathsoptimisation added in runc 1.4.3
failed, as mountingtmpfswith thenr_inodes=1option is rejected there
due to a downstream kernel patch. We now fall back tonr_inodes=2if the
operation fails. (#5348, #5353, #5356, #5358, #5360)
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":
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
- Aleksa Sarai cyphar@cyphar.com
- Kir Kolyshkin kolyshkin@gmail.com
- Li Fu Bang lifubang@acmcoder.com
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
runc v1.3.7 -- "Your optimistic eyes seem like paradise to someone like me."
This is the seventh (and probably the last) patch release of the 1.3.z series
of runc. It includes a fix for a high-severity vulnerability (CVE-2026-119101)
affecting users who checkpoint and restore containers, as well as a few other
fixes. Users are encouraged to update.
Security
This release includes a fix for the following high-severity security issue:
-
CVE-2026-119101 allowed a malicious image, using crafted symlinks in
its rootfs, to confuse the way runc names external mounts for CRIU, and so
makerunc restorebind-mount an arbitrary host directory into the restored
container, read-write. Only users who both checkpoint and later restore
containers running untrusted images are affected (checkpoint/restore
requires root, so rootless runc is not affected). The same issue was found
in crun (CVE-2026-115520); CRIU itself is fixed in CVE-2026-119614.In addition,
runc restoreno longer makes read-only bind mounts writable,
even temporarily, while preparing the container mounts.
Fixed
- The
org.opencontainers.runc.versionannotation reported byrunc features
no longer contains a trailing newline (a regression in runc 1.3.0), and now
includesEXTRA_VERSION. (#5329, #5331, #5335, #5337)
Changed
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":
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
- Aleksa Sarai cyphar@cyphar.com
- Kir Kolyshkin kolyshkin@gmail.com
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
runc v1.6.0-rc.1 -- "Lo bueno, si breve, dos veces bueno."
This is the first release candidate of the upcoming runc 1.6.0 release.
It contains a couple of new features, but is mostly made up of various
cleanups (such as the removal of many deprecated APIs) and improvements.
This version includes all of the patches backported to runc v1.5.2.
Users are strongly encouraged to test our release candidates so we can
fix issues before the general release.
libcontainer API
configs.ToCPUSetnow returns aunix.CPUSetDynamicinstead of a
*unix.CPUSet, and theInitial/Finalfields ofconfigs.CPUAffinityand
theNodesfield ofconfigs.LinuxMemoryPolicyhave changed type
accordingly. This lifts the previous 1024 CPUs/nodes limit. (#5343)- The deprecated
libcontainer/devicespackage has been removed. Use
github.com/moby/sys/devicesinstead. (#5142, #5223, #5495) - The deprecated
RecvFile,SendFile, andSendRawFdfunctions have been
removed fromlibcontainer/utils. (#5227, #5231, #5495)
Removed
- The deprecated
EXTRA_BUILDTAGSmake variable has been removed, and setting
it is now an error. UseRUNC_BUILDTAGSinstead. (#5171, #5198, #5511)
Fixed
- The poststart hooks are now executed after starting the user-specified
process, fixing a runtime-spec conformance issue. (#4347, #5186) process.user.umaskis now honored for a container which does not have its
own mount namespace. Previously it was silently ignored, and not even the
default umask of 022 was set. (#5479)- When an AppArmor profile is not loaded, runc now says so explicitly and
names the profile, instead of returning a confusingno such file or directoryerror about a procfs file. (#5438, #5441)
Changed
- runc now requires Go 1.26+ to build. (#5413)
- The runc binary is now built with the
urfave_cli_no_templatebuild tag,
which, together with removing the reflect-based logging of CRIU options,
re-enables the linker's dead code elimination of exported methods. As a
result, the runc binary shrunk by about 2 MB (15%) on amd64. (#5486, #5506) - The
cpuAffinityand NUMAmemoryPolicysettings are no longer limited
to 1024 CPUs/nodes, as runc now uses a dynamically-sized CPU mask. (#5343) - A container configuration which asks for a read-only rootfs
(root.readonly), a read-only tmpfs mount, or a read-only/dev, but does
not have its own mount namespace, is now refused. Previously such a
container was silently started with those filesystems left writable, since
making them read-only requires a remount, which is only possible in a
private mount namespace. This is consistent with howmaskedPathsand
readonlyPaths, which have the same requirement, were already treated.
(#5371, #5479) - Switched from urfave/cli v1 (which is in maintenance mode) to v3. The
command-line syntax is intended to remain the same, but the help output
looks different. Please report any regressions in command-line parsing.
Theurfave_cli_no_docsbuild tag is no longer used. (#5184) runc startnow waits for the container's init process using poll(2) and
pidfd (where available), instead of a goroutine with a 100ms polling
timeout. (#5251, #5271)- runc no longer sets up a signal forwarder for detached containers, as
there is nothing to forward the signals to. (#4661)
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
- Aleksa Sarai cyphar@cyphar.com
- Erik Sjölund erik.sjolund@gmail.com
- Kir Kolyshkin kolyshkin@gmail.com
- Li Fu Bang lifubang@acmcoder.com
- Mohammed Aminu Futa mohammedfuta2000@gmail.com
- ningmingxiao ning.mingxiao@zte.com.cn
- Patrick Stoeckle patrick.stoeckle@siemens.com
- RedMakeUp girafeeblue@gmail.com
- Ricardo Branco rbranco@suse.de
- Rodrigo Campos rodrigo@sdfg.com.ar
- sean xujihui1985@gmail.com
- Sebastiaan van Stijn github@gone.nl
- Timothy Durward timothy.a.durward@gmail.com
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
runc v1.5.2 -- "Всё сбудется, стоит только расхотеть!"
This is the second patch release in the 1.5.z release series of runc,
which primarily includes a workaround for a Linux kernel bug causing
random runc crashes when using cgroup v2, and other fixes.
Fixed
runc exec -pwith a process.json lackingenvnow setsHOMEagain
(a regression in runc 1.3.0). (#5265, #5266, #5459)- Worked around a Linux kernel bug (present since kernel v6.17, fixed in v7.2)
which caused the kernel to write past the end of the structure
provided by userspace (runc). This resulted in memory corruption inside runc
(manifesting as random crashes) when configuring device rules on cgroup v2
systems. (#5403, #5428) runc exec --cgroup(and the equivalent libcontainerProcess.SubCgroupPaths
API) no longer accepts a sub-cgroup path that escapes the container's cgroup
into a sibling cgroup sharing the same name prefix. Note that using
--cgrouprequires the same privileges as runningrunc execitself, so
this is a correctness rather than a security fix. (#5403, #5457)- Fixed a missing
O_CLOEXECwhen opening the cgroup v2 directory to set up
device rules. (#5403, #5428) - Some long-standing file-descriptor leaks on the eBPF devices cgroups were
fixed. (#5403, #5428) - When
rootfsPropagationis set torslave, the rootfs parent mount is no
longer made private before pivoting into the rootfs, so unmount/remount
events on host mountpoints under the rootfs are now propagated to the
running container. (#5192, #5200, #5458) - runc no longer misdetects a non-initial user namespace as the initial one
when that namespace has a full identity ID mapping (0 0 4294967295), as
used by systemd >= 260 units withPrivateUsers=full. Previously this made
runc skip its user namespace code paths, so starting a container in such a
unit failed withbpf_prog_query(BPF_CGROUP_DEVICE) failed: operation not permitted.
(#5396, #5411, #5451, moby/sys#239) - Fixed a
runc initpanic (SIGABRT) on the error path, caused by SELinux
labels being reset after the cached libpathrs procfs handle was already
closed. This is fixed both by not resetting the labels on the init error
path, and by updating to libpathrs v0.2.6, which now handles a closed
procfs handle gracefully. (#5438, #5439, #5442, #5448, #5449, #5467,
#5469) - Fixed various issues when the libseccomp version runc is run with differs
from the one it was compiled against (e.g. built with libseccomp >= 2.6.0 and
run with an older one), by updating to libseccomp-golang v0.12.0. This also
supersedes theSECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECVworkaround added in
runc 1.5.1. (#5436, #5461) - The libseccomp library statically linked into release binaries is now built
with optimizations enabled (the default-g -O2CFLAGS); previously it was
built unoptimized. (#5464, #5465)
Changed
- Switched to opencontainers/cgroups v0.1.0, which no longer uses the
high-level cilium/ebpf API to manage cgroup v2 device rules. As a result,
the runc binary shrunk by about 1 MiB (7.5%) on amd64. This also means runc
no longer calls the cilium/ebpf code affected by GO-2026-6238. (#5403, #5428) - Updated golang.org/x/net to v0.55.0. (#5379, #5381)
- Updated builds to libseccomp v2.6.1. (#5376, #5460)
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:
- Aleksa Sarai cyphar@cyphar.com
- Ali alliasgher123@gmail.com
- Alvaro Leiva Geisse aleivag@gmail.com
- Ciprian Hacman ciprian@hakman.dev
- Kir Kolyshkin kolyshkin@gmail.com
- Li Fu Bang lifubang@acmcoder.com
- Matthew Dabit mdabit@x.ai
- Rodrigo Campos rodrigo@amutable.com
- sean xujihui1985@gmail.com
- Sebastiaan van Stijn github@gone.nl
- xingyaner longfor2025@gmail.com
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com
runc v1.5.1 -- "El lujo es vulgaridad, dijo, y me conquistó."
This is the first patch release in the 1.5.z release series of runc, and
primarily includes a fix for a serious regression on Ubuntu 20.04
kernels.
Fixed
- There was a regression reported in with the
maskPathsoptimisation added in
1.5.0-rc.3 (#5275). On Ubuntu Focal (20.04), attempts to mounttmpfswith
thenr_inodes=1option will fail due to a downstream kernel patch
(ironically originating from AUFS). We now have a fallback path using
nr_inodes=2instead if the operation fails. (#5348, #5358, #5359) - Properly handle
EINVALfor seccompSECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV
when trying to rewrite the filter. This appears to only happen if you compile
runc with libseccomp >= 2.6.0 and then run it with an < 2.6.0 libseccomp.
(#5347, #5354)
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
- Aleksa Sarai cyphar@cyphar.com
- Kir Kolyshkin kolyshkin@gmail.com
- Paco Xu roollingstone@gmail.com
- Rodrigo Campos Catelin rodrigo@amutable.com
- lifubang lifubang@acmcoder.com
Signed-off-by: Aleksa Sarai cyphar@cyphar.com
runc v1.5.0 -- "Why do we even have that lever?!"
This is the somewhat-delayed^Wlong-awaited first stable release of the
1.5.z release branch of runc. It contains a handful of fixes for issues
found in 1.5.0-rc.3 and an important dependency bump for libpathrs.
This is the third release of runc following our new release and support
policy (see RELEASES.md for more details). This means that, as of this
release:
- The runc 1.2.z (and earlier) release branches are now completely
unsupported. - The runc 1.3.z release branch will now only receive high severity
CVE fixes, and will no longer be supported in less than 6 months (end
of October 2026). - The runc 1.4.z release branch will now only recieve security and
"significant" bugfixes. - Users are encouraged to plan migrating to runc 1.5.0 as soon as
possible. - Despite this release being delayed by over a month, users should
still expect a runc 1.6.0 release in late October 2026.
Added
runc versionandrunc featuresnow provide version information about
libpathrs (when runc is built with thelibpathrsbuild tag). (#5291, #5328)
Fixed
- Since runc 1.3.0, the
org.opencontainers.runc.versionannotation included
inrunc featurescontained an extraneous\n, possibly causing issues with
tools that parse the output. It is now properly stripped. (#5329, #5330,
#5331, #5335)
Changed
- runc (when built with the
libpathrsbuild tag) now depends on libpathrs
v0.2.5 or later, and attempting to build with older versions will cause
compilation errors. (#5291, #5328) - Switched to go-criu v8.3.0, which reduces our binary size from ~16MB to
~14MB. (#5312, #5326)
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
- Aleksa Sarai cyphar@cyphar.com
- Kir Kolyshkin kolyshkin@gmail.com
- Rodrigo Campos Catelin rodrigo@amutable.com
Signed-off-by: Aleksa Sarai cyphar@cyphar.com
runc 1.5.0-rc.3 -- "The best way to get a drink out of a Vogon is to stick your finger down his throat."
This is the third release candidate for the 1.5.z series of runc. Among
some performance improvements and bugfixes, it includes a fix for a
low-severity vulnerability (CVE-2026-41579) and users are encouraged to
update. As it was a low-severity vulnerability and it was reported by
multiple people, we decided to release it publicly with NO EMBARGO.
We plan to release 1.5.0 in the next two weeks.
Security
This release includes a fix for the following low-severity security issue:
- CVE-2026-41579 allowed a malicious image with a
/devsymlink to have
limited write access to the host filesystem in ways that our analysis
indicates was too limited to be problematic in practice. This bug was very
similar to those fixed in CVE-2025-31133, CVE-2025-52565,
CVE-2025-31133 and was simply missed at the time when we hardened the
rootfs preparation code. We have conducted a deeper audit and not found any
other problematic cases.
libcontainer API
- The
cmsghelpers fromgithub.com/opencontainers/runc/libcontainer/utils
have been moved to an internal package. We have included wrapper functions
but they will be removed in runc 1.6. (#5227, #5231) - Added
//go:fix inlineto ease migration forlibcontainer/devicessymbols
that are deprecated and scheduled for removal in runc 1.6. (#5223, #5225)
Fixed
runc listnow correctly handles non-existant--rootarguments. (#5297,
#5301)- Various integration test improvements. (#5222, #5226, #5232, #5239, #5230,
#5236, #5246, #5248, #5279, #5283, #5269, #5286, #5295, #5303)
Changed
- When masking directories with
maskPaths, runc will now re-use a single
tmpfsinstance (which is not writable) to reduce the numbertmpfs
superblocks that need to be reaped when containers die (in particular,
Kubernetes applies masks to per-CPU sysfs directories which get expensive
quickly). (#5275, #5280)
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 for making this release possible:
- Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp
- Aleksa Sarai cyphar@cyphar.com
- Davanum Srinivas davanum@gmail.com
- Kevin Berry kpberry11@gmail.com
- Kir Kolyshkin kolyshkin@gmail.com
- Li Fubang lifubang@acmcoder.com
- RedMakeUp girafeeblue@gmail.com
- Ricardo Branco rbranco@suse.de
- Rodrigo Campos Catelin rodrigo@amutable.com
- Sebastiaan van Stijn github@gone.nl
Signed-off-by: Aleksa Sarai cyphar@cyphar.com