CVE-2025-52565container escape due to /dev/console mount and related races
runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2, due to insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of `/dev/pts/$n` to `/dev/console` as configured for all containers that allocate a console). This happens after `pivot_root(2)`, so this cannot be used to write to host files directly -- however, as with CVE-2025-31133, this can load to denial of service of the host or a container breakout by providing the attacker with a writable copy of `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern` (respectively). 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-52565 | |
| Ubuntu 25.10 | runc-app | Fixed | 1.3.3-0ubuntu1~25.10.2 | UBUNTU-CVE-2025-52565 |
| Ubuntu 25.10 | runc-stable | Fixed | 1.3.3-0ubuntu1~25.10.2 | UBUNTU-CVE-2025-52565 |
| 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-52565 | |
| Ubuntu 24.04 | runc-app | Fixed | 1.3.3-0ubuntu1~24.04.2 | UBUNTU-CVE-2025-52565 |
| 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-52565 | |
| Ubuntu 22.04 | runc-app | Fixed | 1.3.3-0ubuntu1~22.04.2 | UBUNTU-CVE-2025-52565 |
| Ubuntu 20.04 | runc | Fix pending | UBUNTU-CVE-2025-52565 | |
| Ubuntu 20.04 | runc-app | Fix pending | UBUNTU-CVE-2025-52565 | |
| Ubuntu 18.04 | runc | Fix pending | UBUNTU-CVE-2025-52565 | |
| Ubuntu 16.04 | runc | Fix pending | UBUNTU-CVE-2025-52565 | |
| Debian 14 | runc | Fixed | 1.3.3+ds1-2 | DEBIAN-CVE-2025-52565 |
| Debian 13 | runc | Fixed | 1.1.15+ds1-2+deb13u1 | DEBIAN-CVE-2025-52565 |
| Debian 12 | runc | Fix pending | DEBIAN-CVE-2025-52565 | |
| 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-52565 |
| Alpine Linux 3.23 | runc | Fixed | 1.3.3-r0 | ALPINE-CVE-2025-52565 |
| Alpine Linux 3.22 | runc | Fixed | 1.3.3-r0 | ALPINE-CVE-2025-52565 |
| Go library | github.com/opencontainers/runc | Fixed | 1.3.3 | GHSA-qw9x-cqr3-wc7r |
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.0.0-rc3, < 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-qw9x-cqr3-wc7r
- https://github.com/opencontainers/runc/commit/01de9d65dc72f67b256ef03f9bfb795a2bf143b4
- https://github.com/opencontainers/runc/commit/398955bccb7f20565c224a3064d331c19e422398
- https://github.com/opencontainers/runc/commit/531ef794e4ecd628006a865ad334a048ee2b4b2e
- https://github.com/opencontainers/runc/commit/9be1dbf4ac67d9840a043ebd2df5c68f36705d1d
- https://github.com/opencontainers/runc/commit/aee7d3fe355dd02939d44155e308ea0052e0d53a
- https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64
- https://github.com/opencontainers/runc/commit/de87203e625cd7a27141fb5f2ad00a320c69c5e8
- https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480
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.