CVE-2025-31133runc container escape via "masked path" abuse due to mount race conditions
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | runc | Will not fix src:runc-app provides the runc binaries, src:runc provides golang-github-opencontainers-runc-dev in older releases. See LP: #2022390 and LP: #2040460 for… | UBUNTU-CVE-2025-31133 | |
| Ubuntu 25.10 | runc-app | Fixed | 1.3.3-0ubuntu1~25.10.2 | UBUNTU-CVE-2025-31133 |
| Ubuntu 25.10 | runc-stable | Fixed | 1.3.3-0ubuntu1~25.10.2 | UBUNTU-CVE-2025-31133 |
| Ubuntu 24.04 | runc | Will not fix src:runc-app provides the runc binaries, src:runc provides golang-github-opencontainers-runc-dev in older releases. See LP: #2022390 and LP: #2040460 for… | UBUNTU-CVE-2025-31133 | |
| Ubuntu 24.04 | runc-app | Fixed | 1.3.3-0ubuntu1~24.04.2 | UBUNTU-CVE-2025-31133 |
| Ubuntu 22.04 | runc | Will not fix src:runc-app provides the runc binaries, src:runc provides golang-github-opencontainers-runc-dev in older releases. See LP: #2022390 and LP: #2040460 for… | UBUNTU-CVE-2025-31133 | |
| Ubuntu 22.04 | runc-app | Fixed | 1.3.3-0ubuntu1~22.04.2 | UBUNTU-CVE-2025-31133 |
| Ubuntu 20.04 | runc | Fix pending | UBUNTU-CVE-2025-31133 | |
| Ubuntu 20.04 | runc-app | Fix pending | UBUNTU-CVE-2025-31133 | |
| Ubuntu 18.04 | runc | Fix pending | UBUNTU-CVE-2025-31133 | |
| Ubuntu 16.04 | runc | Fix pending | UBUNTU-CVE-2025-31133 | |
| Debian 14 | runc | Fixed | 1.3.3+ds1-2 | DEBIAN-CVE-2025-31133 |
| Debian 13 | runc | Fixed | 1.1.15+ds1-2+deb13u1 | DEBIAN-CVE-2025-31133 |
| Debian 12 | runc | Fix pending | DEBIAN-CVE-2025-31133 | |
| Red Hat Enterprise Linux 9 | runc | Fixed | 4:1.3.0-4.el9_7 | RHSA-2025:19927 |
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 2:1.33.12-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 2:1.33.12-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-6.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-82.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.18-5.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-5.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.18-5.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-5.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 4:4.9.4-23.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.9.0-3.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-5.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.9.0-3.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 4:1.2.5-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.14.5-4.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.14.5-4.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.5-2.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-21.module+el8.10.0+23647+cfd78660 | RHSA-2025:21232 |
| AlmaLinux 9 | runc | Fixed | 4:1.3.0-4.el9_7 | ALSA-2025:19927 |
| AlmaLinux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:21232 |
| AlmaLinux 8 | buildah | Fixed | 2:1.33.12-2.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | buildah-tests | Fixed | 2:1.33.12-2.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| AlmaLinux 8 | cockpit-podman | Fixed | 84.1-1.module_el8.10.0+4016+efd18bf8 | ALSA-2025:21232 |
| AlmaLinux 8 | conmon | Fixed | 3:2.1.10-1.module_el8.10.0+3970+8445edf6 | ALSA-2025:21232 |
| AlmaLinux 8 | container-selinux | Fixed | 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:21232 |
| AlmaLinux 8 | containernetworking-plugins | Fixed | 1:1.4.0-6.module_el8.10.0+4016+efd18bf8 | ALSA-2025:21232 |
| AlmaLinux 8 | containers-common | Fixed | 2:1-82.module_el8.10.0+3876+e55593a8 | ALSA-2025:21232 |
| AlmaLinux 8 | crit | Fixed | 3.18-5.module_el8.10.0+3845+87b84552 | ALSA-2025:21232 |
| AlmaLinux 8 | criu | Fixed | 3.18-5.module_el8.10.0+3970+8445edf6 | ALSA-2025:21232 |
| AlmaLinux 8 | criu-devel | Fixed | 3.18-5.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| AlmaLinux 8 | criu-libs | Fixed | 3.18-5.module_el8.10.0+3926+f12484f5 | ALSA-2025:21232 |
| AlmaLinux 8 | crun | Fixed | 1.14.3-2.module_el8.10.0+3926+f12484f5 | ALSA-2025:21232 |
| AlmaLinux 8 | fuse-overlayfs | Fixed | 1.13-1.module_el8.10.0+3909+6e1c1eb7 | ALSA-2025:21232 |
| AlmaLinux 8 | libslirp | Fixed | 4.4.0-2.module_el8.10.0+3845+87b84552 | ALSA-2025:21232 |
| AlmaLinux 8 | libslirp-devel | Fixed | 4.4.0-2.module_el8.10.0+3970+8445edf6 | ALSA-2025:21232 |
| AlmaLinux 8 | netavark | Fixed | 2:1.10.3-1.module_el8.10.0+3970+8445edf6 | ALSA-2025:21232 |
| AlmaLinux 8 | oci-seccomp-bpf-hook | Fixed | 1.2.10-1.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | podman | Fixed | 4:4.9.4-23.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| AlmaLinux 8 | podman-catatonit | Fixed | 4:4.9.4-23.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | podman-docker | Fixed | 4:4.9.4-23.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | podman-gvproxy | Fixed | 4:4.9.4-23.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| AlmaLinux 8 | podman-plugins | Fixed | 4:4.9.4-23.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | podman-remote | Fixed | 4:4.9.4-23.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | podman-tests | Fixed | 4:4.9.4-23.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | python3-criu | Fixed | 3.18-5.module_el8.10.0+3970+8445edf6 | ALSA-2025:21232 |
| AlmaLinux 8 | python3-podman | Fixed | 4.9.0-3.module_el8.10.0+4016+efd18bf8 | ALSA-2025:21232 |
| AlmaLinux 8 | runc | Fixed | 4:1.2.5-2.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| AlmaLinux 8 | skopeo | Fixed | 2:1.14.5-4.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| AlmaLinux 8 | skopeo-tests | Fixed | 2:1.14.5-4.module_el8.10.0+4047+545787c4 | ALSA-2025:21232 |
| AlmaLinux 8 | slirp4netns | Fixed | 1.2.3-1.module_el8.10.0+3926+f12484f5 | ALSA-2025:21232 |
| AlmaLinux 8 | toolbox | Fixed | 0.0.99.5-2.module_el8.10.0+3876+e55593a8 | ALSA-2025:21232 |
| AlmaLinux 8 | toolbox-tests | Fixed | 0.0.99.5-2.module_el8.10.0+3858+6ad51f9f | ALSA-2025:21232 |
| AlmaLinux 8 | udica | Fixed | 0.2.6-21.module_el8.10.0+4068+0e21408f | ALSA-2025:21232 |
| Rocky Linux 9 | runc | Fixed | 4:1.3.0-4.el9_7 | RLSA-2025:20957 |
| Rocky Linux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module+el8.10.0+1880+8e896d1b | RLSA-2025:21232 |
| Rocky Linux 8 | buildah | Fixed | 2:1.33.12-2.module+el8.10.0+2001+6a33db9f | RLSA-2025:21232 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+1815+5fe7415e | RLSA-2025:21232 |
| Rocky Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2025:21232 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+2001+6a33db9f | RLSA-2025:21232 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-6.module+el8.10.0+2001+6a33db9f | RLSA-2025:21232 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-82.module+el8.10.0+2001+6a33db9f | RLSA-2025:21232 |
| Rocky Linux 8 | criu | Fixed | 0:3.18-5.module+el8.10.0+1815+5fe7415e | RLSA-2025:21232 |
| Rocky Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+1948+4b5cd4a9 | RLSA-2025:21232 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+1880+8e896d1b | RLSA-2025:21232 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+1825+623b0c20 | RLSA-2025:21232 |
| Rocky Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2025:21232 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+1948+4b5cd4a9 | RLSA-2025:21232 |
| Rocky Linux 8 | podman | Fixed | 4:4.9.4-23.module+el8.10.0+2064+309a12a4 | RLSA-2025:21232 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.9.0-3.module+el8.10.0+1896+b18fa106 | RLSA-2025:21232 |
| Rocky Linux 8 | runc | Fixed | 4:1.2.5-2.module+el8.10.0+2095+5cd7f3af | RLSA-2025:21232 |
| Rocky Linux 8 | skopeo | Fixed | 2:1.14.5-4.module+el8.10.0+2001+6a33db9f | RLSA-2025:21232 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+2001+6a33db9f | RLSA-2025:21232 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+1896+b18fa106.rocky.0.2 | RLSA-2025:21232 |
| Rocky Linux 8 | udica | Fixed | 0:0.2.6-21.module+el8.10.0+1896+b18fa106 | RLSA-2025:21232 |
| Alpine Linux 3.24 | runc | Fixed | 1.3.3-r0 | ALPINE-CVE-2025-31133 |
| Alpine Linux 3.23 | runc | Fixed | 1.3.3-r0 | ALPINE-CVE-2025-31133 |
| Alpine Linux 3.22 | runc | Fixed | 1.3.3-r0 | ALPINE-CVE-2025-31133 |
| Go library | github.com/opencontainers/runc | Fixed | 1.3.3 | GHSA-9493-h29p-rfm2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- opencontainers runc: affected: < 1.2.8, >= 1.3.0-rc.1, < 1.3.3, >= 1.4.0-rc.1, <= 1.4.0-rc.3
References
- https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2
- https://github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522
- https://github.com/opencontainers/runc/commit/5d7b2424072449872d1cd0c937f2ca25f418eb66
- https://github.com/opencontainers/runc/commit/8476df83b534a2522b878c0507b3491def48db9f
- https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.