CVEfocus › CVE database › CVE-2025-52565

CVE-2025-52565container escape due to /dev/console mount and related races

CVSS 8.4 HighEPSS 0.2% (higher than 5% of CVEs)Published 2025-11-06Updated 2025-11-06Assigner: GitHub_M

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.

CWE-363CWE-61

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

102Fixed
5Fix pending
3Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10runcWill 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.10runc-appFixed1.3.3-0ubuntu1~25.10.2UBUNTU-CVE-2025-52565
Ubuntu 25.10runc-stableFixed1.3.3-0ubuntu1~25.10.2UBUNTU-CVE-2025-52565
Ubuntu 24.04runcWill 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.04runc-appFixed1.3.3-0ubuntu1~24.04.2UBUNTU-CVE-2025-52565
Ubuntu 22.04runcWill 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.04runc-appFixed1.3.3-0ubuntu1~22.04.2UBUNTU-CVE-2025-52565
Ubuntu 20.04runcFix pendingUBUNTU-CVE-2025-52565
Ubuntu 20.04runc-appFix pendingUBUNTU-CVE-2025-52565
Ubuntu 18.04runcFix pendingUBUNTU-CVE-2025-52565
Ubuntu 16.04runcFix pendingUBUNTU-CVE-2025-52565
Debian 14runcFixed1.3.3+ds1-2DEBIAN-CVE-2025-52565
Debian 13runcFixed1.1.15+ds1-2+deb13u1DEBIAN-CVE-2025-52565
Debian 12runcFix pendingDEBIAN-CVE-2025-52565
Red Hat Enterprise Linux 9runcFixed4:1.3.0-4.el9_7RHSA-2025:19927
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.10.1-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8buildahFixed2:1.33.12-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8buildah-testsFixed2:1.33.12-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.4.0-6.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8containers-commonFixed2:1-82.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8critFixed0:3.18-5.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8criuFixed0:3.18-5.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8criu-develFixed0:3.18-5.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8criu-libsFixed0:3.18-5.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8crunFixed0:1.14.3-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podmanFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podman-catatonitFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podman-dockerFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podman-gvproxyFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podman-pluginsFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podman-remoteFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8podman-testsFixed4:4.9.4-23.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8python-podmanFixed0:4.9.0-3.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8python3-criuFixed0:3.18-5.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8python3-podmanFixed0:4.9.0-3.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8runcFixed4:1.2.5-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8skopeoFixed2:1.14.5-4.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.14.5-4.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8toolbox-testsFixed0:0.0.99.5-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+23647+cfd78660RHSA-2025:21232
AlmaLinux 9runcFixed4:1.3.0-4.el9_7ALSA-2025:19927
AlmaLinux 8aardvark-dnsFixed2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:21232
AlmaLinux 8buildahFixed2:1.33.12-2.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8buildah-testsFixed2:1.33.12-2.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux 8cockpit-podmanFixed84.1-1.module_el8.10.0+4016+efd18bf8ALSA-2025:21232
AlmaLinux 8conmonFixed3:2.1.10-1.module_el8.10.0+3970+8445edf6ALSA-2025:21232
AlmaLinux 8container-selinuxFixed2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:21232
AlmaLinux 8containernetworking-pluginsFixed1:1.4.0-6.module_el8.10.0+4016+efd18bf8ALSA-2025:21232
AlmaLinux 8containers-commonFixed2:1-82.module_el8.10.0+3876+e55593a8ALSA-2025:21232
AlmaLinux 8critFixed3.18-5.module_el8.10.0+3845+87b84552ALSA-2025:21232
AlmaLinux 8criuFixed3.18-5.module_el8.10.0+3970+8445edf6ALSA-2025:21232
AlmaLinux 8criu-develFixed3.18-5.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux 8criu-libsFixed3.18-5.module_el8.10.0+3926+f12484f5ALSA-2025:21232
AlmaLinux 8crunFixed1.14.3-2.module_el8.10.0+3926+f12484f5ALSA-2025:21232
AlmaLinux 8fuse-overlayfsFixed1.13-1.module_el8.10.0+3909+6e1c1eb7ALSA-2025:21232
AlmaLinux 8libslirpFixed4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2025:21232
AlmaLinux 8libslirp-develFixed4.4.0-2.module_el8.10.0+3970+8445edf6ALSA-2025:21232
AlmaLinux 8netavarkFixed2:1.10.3-1.module_el8.10.0+3970+8445edf6ALSA-2025:21232
AlmaLinux 8oci-seccomp-bpf-hookFixed1.2.10-1.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8podmanFixed4:4.9.4-23.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux 8podman-catatonitFixed4:4.9.4-23.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8podman-dockerFixed4:4.9.4-23.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8podman-gvproxyFixed4:4.9.4-23.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux 8podman-pluginsFixed4:4.9.4-23.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8podman-remoteFixed4:4.9.4-23.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8podman-testsFixed4:4.9.4-23.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8python3-criuFixed3.18-5.module_el8.10.0+3970+8445edf6ALSA-2025:21232
AlmaLinux 8python3-podmanFixed4.9.0-3.module_el8.10.0+4016+efd18bf8ALSA-2025:21232
AlmaLinux 8runcFixed4:1.2.5-2.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux 8skopeoFixed2:1.14.5-4.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux 8skopeo-testsFixed2:1.14.5-4.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux 8slirp4netnsFixed1.2.3-1.module_el8.10.0+3926+f12484f5ALSA-2025:21232
AlmaLinux 8toolboxFixed0.0.99.5-2.module_el8.10.0+3876+e55593a8ALSA-2025:21232
AlmaLinux 8toolbox-testsFixed0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2025:21232
AlmaLinux 8udicaFixed0.2.6-21.module_el8.10.0+4068+0e21408fALSA-2025:21232
Rocky Linux 9runcFixed4:1.3.0-4.el9_7RLSA-2025:20957
Rocky Linux 8aardvark-dnsFixed2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2025:21232
Rocky Linux 8buildahFixed2:1.33.12-2.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2025:21232
Rocky Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+1948+4b5cd4a9RLSA-2025:21232
Rocky Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux 8containernetworking-pluginsFixed1:1.4.0-6.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux 8containers-commonFixed2:1-82.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux 8criuFixed0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2025:21232
Rocky Linux 8crunFixed0:1.14.3-2.module+el8.10.0+1948+4b5cd4a9RLSA-2025:21232
Rocky Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+1880+8e896d1bRLSA-2025:21232
Rocky Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+1825+623b0c20RLSA-2025:21232
Rocky Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+1948+4b5cd4a9RLSA-2025:21232
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+1948+4b5cd4a9RLSA-2025:21232
Rocky Linux 8podmanFixed4:4.9.4-23.module+el8.10.0+2064+309a12a4RLSA-2025:21232
Rocky Linux 8python-podmanFixed0:4.9.0-3.module+el8.10.0+1896+b18fa106RLSA-2025:21232
Rocky Linux 8runcFixed4:1.2.5-2.module+el8.10.0+2095+5cd7f3afRLSA-2025:21232
Rocky Linux 8skopeoFixed2:1.14.5-4.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+1896+b18fa106.rocky.0.2RLSA-2025:21232
Rocky Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+1896+b18fa106RLSA-2025:21232
Alpine Linux 3.24runcFixed1.3.3-r0ALPINE-CVE-2025-52565
Alpine Linux 3.23runcFixed1.3.3-r0ALPINE-CVE-2025-52565
Alpine Linux 3.22runcFixed1.3.3-r0ALPINE-CVE-2025-52565
Go librarygithub.com/opencontainers/runcFixed1.3.3GHSA-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.

References

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.