CVE-2025-52565 json
container escape due to /dev/console mount and related races
published 2025-11-05 12 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-37944 , GHSA-qw9x-cqr3-wc7r , GO-2025-4097
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/opencontainers/runc 1.2.8, 1.3.3, 1.4.0-rc.3
- linuxfoundation runc 1.2.8, 1.3.3, 1.4.0-rc.3
- runc Debian 14 1.3.3+ds1-2
debian advisories DEBIAN-CVE-2025-52565
- runc-app Ubuntu 22.04 LTS 1.3.3-0ubuntu1~22.04.2
- runc-app Ubuntu 24.04 LTS 1.3.3-0ubuntu1~24.04.2
- runc-app Ubuntu 25.10 1.3.3-0ubuntu1~25.10.2
- runc-stable Ubuntu 25.10 1.3.3-0ubuntu1~25.10.2
ubuntu advisories UBUNTU-CVE-2025-52565
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- runc openshift 4.17, openshift 4.14 4:1.2.5-2.rhaos4.17.el8
- runc openshift 4.17, openshift 4.14 4:1.2.5-2.rhaos4.17.el9
- perf openshift 4.15 5.14.0-284.155.1.el9_2
- rtla openshift 4.15 5.14.0-284.155.1.el9_2
- runc openshift 4.16, openshift 4.15, openshift 4.14 +1 more 4:1.2.9-1.rhaos4.16.el8
- runc openshift 4.16, openshift 4.15, openshift 4.14 +1 more 4:1.2.9-1.rhaos4.16.el9
- kernel openshift 4.15 5.14.0-284.155.1.el9_2
- bpftool openshift 4.15 7.0.0-284.155.1.el9_2
red hat advisories RHBA-2025:21221RHSA-2026:1540RHSA-2026:10703RHSA-2026:8325RHSA-2026:4693RHSA-2026:4531
- runc SLE Module for Basesystem 15 SP7, SLE Micro 5.5, SLE Micro 5.4 +2 more 1.3.6-150000.101.1
- runc SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.3.6-160000.1.1
- podman SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 5.4.2-160000.4.1
- alloy SLES for SAP applications 16.0, SLES 16.0 1.12.2-160000.1.1
- alloy SLE Module for Basesystem 15 SP7 1.12.2-150700.15.15.1
- buildah SLES for SAP applications 16.0, SLES 16.0 1.39.5-160000.1.1
- podman SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 5.4.2-160000.3.1
- runc SLE Module for Containers 15 SP6, SLE Module for Basesystem 15 SP7, SLE Micro 5.5 +16 more 1.3.3-150000.85.1
suse advisories SUSE-SU-2026:3433-1SUSE-SU-2026:3428-1SUSE-SU-2026:22938-1SUSE-SU-2026:22942-1SUSE-SU-2026:20626-1SUSE-SU-2026:20641-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- runc openSUSE Leap 16.0 1.3.6-160000.1.1
- podman openSUSE Leap 16.0 5.4.2-160000.4.1
- alloy openSUSE Leap 16.0 1.12.2-160000.1.1
- buildah openSUSE Leap 16.0 1.39.5-160000.1.1
- podman openSUSE Leap 16.0 5.4.2-160000.3.1
- runc openSUSE Leap 16.0 1.3.3-160000.1.1
- runc openSUSE Tumbleweed 1.3.3-1.1
opensuse advisories openSUSE-SU-2026:21483-1openSUSE-SU-2026:21431-1openSUSE-SU-2026:20305-1openSUSE-SU-2026:20140-1openSUSE-SU-2026:20080-1openSUSE-SU-2026:20072-1
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3901+4b80ecd7
- crit AlmaLinux 8 3.18-5.module_el8.10.0+4068+0e21408f
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3845+87b84552
- crit AlmaLinux 8 3.18-5.module_el8.10.0+3858+6ad51f9f
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3926+f12484f5
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3876+e55593a8
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3970+8445edf6
- criu AlmaLinux 8 3.18-5.module_el8.10.0+3909+6e1c1eb7
almalinux advisories ALSA-2025:21232ALSA-2025:20957ALSA-2025:19927
- criu Rocky Linux 8 3.18-5.module+el8.10.0+2001+6a33db9f
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1880+8e896d1b
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1843+6892ab28
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1948+4b5cd4a9
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1874+ce489889
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1825+623b0c20
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1896+b18fa106
- criu Rocky Linux 8 3.18-5.module+el8.10.0+1815+5fe7415e
rocky linux advisories RLSA-2025:21232RLSA-2025:20957
- runc Alpine 3.24, Alpine 3.23, Alpine 3.22 1.3.3-r0
alpine advisories ALPINE-CVE-2025-52565
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- moby-runc CBL-Mariner 2.0 1.2.8-1
- kubernetes Azure Linux 3.0 1.30.10-16
azure linux advisories AZL-69821AZL-70589
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/opencontainers/runc@01de9d6 commit
- github.com/opencontainers/runc@398955b commit
- github.com/opencontainers/runc@531ef79 commit
- github.com/opencontainers/runc@9be1dbf commit
- github.com/opencontainers/runc@aee7d3f commit
- github.com/opencontainers/runc@db19bbe commit
- github.com/opencontainers/runc@de87203 commit
- github.com/opencontainers/runc@ff94f99 commit
- github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-52565 updated cvss 8.2
runc: container escape with malicious config due to /dev/console mount and related races
-
Red Hat AI Inference Server 3.2 rhaiis 1772160593, rhaiis 1772160625, rhaiis 3.2.2-1764871796, rhaiis 3.2.2-1765379049, rhaiis 3.2.2-1765379088, rhaiis 3.2.5-1765361180, +4 morefixed: vendor fix RHSA-2025:23080
-
Red Hat Enterprise Linux AppStream (v. 8) crit 3.18-5.module+el8.10.0+23647+cfd78660, criu 3.18-5.module+el8.10.0+23647+cfd78660, runc 1.2.5-2.module+el8.10.0+23647+cfd78660, crun 1.14.3-2.module+el8.10.0+23647+cfd78660, udica 0.2.6-21.module+el8.10.0+23647+cfd78660, conmon 2.1.10-1.module+el8.10.0+23647+cfd78660, +27 morefixed: vendor fix RHSA-2025:21232
-
Red Hat Enterprise Linux AppStream (v. 9) runc 1.2.5-3.el9_6, runc 1.3.0-4.el9_7fixed: vendor fix RHSA-2025:19927
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) crit 3.15-3.module+el8.6.0+24209+25a14987, criu 3.15-3.module+el8.6.0+24209+25a14987, crun 1.14.3-1.module+el8.6.0+24209+25a14987, udica 0.2.6-5.module+el8.6.0+24209+25a14987, conmon 2.1.4-1.module+el8.6.0+24209+25a14987, runc 1.2.9-1.module+el8.6.0+24209+25a14987.1, +27 more Red Hat Enterprise Linux AppStream E4S (v.8.6) crit 3.15-3.module+el8.6.0+24209+25a14987, criu 3.15-3.module+el8.6.0+24209+25a14987, crun 1.14.3-1.module+el8.6.0+24209+25a14987, udica 0.2.6-5.module+el8.6.0+24209+25a14987, conmon 2.1.4-1.module+el8.6.0+24209+25a14987, runc 1.2.9-1.module+el8.6.0+24209+25a14987.1, +27 morefixed: vendor fix RHSA-2026:10703
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) crit 3.15-4.module+el8.8.0+23884+2031fc78, criu 3.15-4.module+el8.8.0+23884+2031fc78, runc 1.2.9-1.module+el8.8.0+23884+2031fc78, crun 1.14.3-1.module+el8.8.0+23884+2031fc78, conmon 2.1.6-1.module+el8.8.0+23884+2031fc78, udica 0.2.6-20.module+el8.8.0+23884+2031fc78, +27 morefixed: vendor fix RHSA-2026:4693
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) runc 1.2.9-1.el9_0fixed: vendor fix RHSA-2026:8325
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) runc 1.2.9-1.el9_2.1fixed: vendor fix RHSA-2026:4531
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) runc 1.2.9-1.el9_4fixed: vendor fix RHSA-2026:0425
show 12 moreshow fewer
-
Red Hat Enterprise Linux AppStream TUS (v.8.6) crit 3.15-3.module+el8.6.0+24209+25a14987, criu 3.15-3.module+el8.6.0+24209+25a14987, crun 1.14.3-1.module+el8.6.0+24209+25a14987, udica 0.2.6-5.module+el8.6.0+24209+25a14987, conmon 2.1.4-1.module+el8.6.0+24209+25a14987, runc 1.2.9-1.module+el8.6.0+24209+25a14987.1, +27 morefixed: vendor fix RHSA-2026:10703
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) crit 3.15-4.module+el8.8.0+23884+2031fc78, criu 3.15-4.module+el8.8.0+23884+2031fc78, runc 1.2.9-1.module+el8.8.0+23884+2031fc78, crun 1.14.3-1.module+el8.8.0+23884+2031fc78, conmon 2.1.6-1.module+el8.8.0+23884+2031fc78, udica 0.2.6-20.module+el8.8.0+23884+2031fc78, +27 morefixed: vendor fix RHSA-2026:4693
-
Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202604010116, runc 1.2.9-1.rhaos4.17.el8fixed: vendor fix RHSA-2026:6492
-
Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202511261311, runc 1.2.9-1.rhaos4.16.el8, runc 1.2.9-1.rhaos4.16.el9fixed: vendor fix RHSA-2026:0676
-
Red Hat OpenShift Container Platform 4.14 runc 1.2.5-2.rhaos4.17.el8, runc 1.2.5-2.rhaos4.17.el9, runc 1.2.9-1.rhaos4.16.el8, runc 1.2.9-1.rhaos4.16.el9fixed: vendor fix RHSA-2025:21328
-
Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202512100122, runc 1.2.9-1.rhaos4.16.el8, runc 1.2.9-1.rhaos4.16.el9fixed: vendor fix RHSA-2026:1540
-
Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202511191934, runc 1.2.9-1.rhaos4.16.el8, runc 1.2.9-1.rhaos4.16.el9fixed: vendor fix RHSA-2026:0418
-
Red Hat OpenShift Container Platform 4.17 runc 1.2.5-2.rhaos4.17.el8, runc 1.2.5-2.rhaos4.17.el9, runc 1.2.9-1.rhaos4.17.el9fixed: vendor fix RHBA-2025:21221
-
Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202511170715, runc 1.2.9-1.rhaos4.18.el8, runc 1.2.9-1.rhaos4.18.el9fixed: vendor fix RHSA-2026:0331
-
Red Hat OpenShift Container Platform 4.19 runc 1.2.5-2.rhaos4.19.el9fixed: vendor fix RHBA-2025:21361
-
Red Hat OpenShift Container Platform 4.20 rhcos 4.20.9.6.202511102206fixed: vendor fix RHBA-2025:21224
-
Red Hat Ironic content for Red Hat OpenShift Container Platform 4.15 python-eventlet 0.33.1-7.el9, python3-eventlet 0.33.1-7.el9 Red Hat Enterprise Linux AppStream E4S (v.9.0) crun 1.14.3-1.el9_0, podman 4.2.0-6.el9_0.6, buildah 1.26.9-1.el9_0.3, skopeo 1.8.0-4.1.el9_0.2, podman-tests 4.2.0-6.el9_0.6, podman-docker 4.2.0-6.el9_0.6, +6 more Red Hat OpenShift Container Platform 4 openshift-clients, openshift-clients-redistributable Red Hat OpenShift Container Platform 4.12 perf 4.18.0-372.175.1.el8_6, kernel 4.18.0-372.175.1.el8_6, bpftool 4.18.0-372.175.1.el8_6, kernel-core 4.18.0-372.175.1.el8_6, kernel-tools 4.18.0-372.175.1.el8_6, python3-perf 4.18.0-372.175.1.el8_6, +20 more Red Hat OpenShift Container Platform 4.13 perf 5.14.0-284.153.1.el9_2, rtla 5.14.0-284.153.1.el9_2, bpftool 7.0.0-284.153.1.el9_2, kernel 5.14.0-284.153.1.el9_2, kernel-64k 5.14.0-284.153.1.el9_2, kernel-core 5.14.0-284.153.1.el9_2, +66 more Red Hat OpenShift Container Platform 4.14 cri-tools 1.27.0-7.el8, cri-tools 1.27.0-7.el9, perf 5.14.0-284.147.1.el9_2, perf 5.14.0-284.154.1.el9_2, rtla 5.14.0-284.147.1.el9_2, rtla 5.14.0-284.154.1.el9_2, +147 morenot affected: vulnerable code not present
+5 more productsfewer
Red Hat OpenShift Container Platform 4.15 perf 5.14.0-284.155.1.el9_2, rtla 5.14.0-284.155.1.el9_2, bpftool 7.0.0-284.155.1.el9_2, kernel 5.14.0-284.155.1.el9_2, kernel-64k 5.14.0-284.155.1.el9_2, kernel-core 5.14.0-284.155.1.el9_2, +66 more Red Hat OpenShift Container Platform 4.16 rv 5.14.0-427.105.1.el9_4, perf 5.14.0-427.105.1.el9_4, rtla 5.14.0-427.105.1.el9_4, bpftool 7.3.0-427.105.1.el9_4, kernel 5.14.0-427.105.1.el9_4, podman 4.9.4-19.rhaos4.16.el8, +80 more Red Hat OpenShift Container Platform 4.17 perf 5.14.0-427.106.1.el9_4, perf 5.14.0-427.107.1.el9_4, rtla 5.14.0-427.106.1.el9_4, rtla 5.14.0-427.107.1.el9_4, bpftool 7.3.0-427.106.1.el9_4, bpftool 7.3.0-427.107.1.el9_4, +146 more Red Hat OpenShift Container Platform 4.18 perf 5.14.0-427.105.1.el9_4, rtla 5.14.0-427.105.1.el9_4, podman 5.2.2-6.rhaos4.18.el8, bpftool 7.3.0-427.105.1.el9_4, kernel 5.14.0-427.105.1.el9_4, podman 5.2.2-14.rhaos4.18.el9, +80 more Red Hat OpenShift Container Platform 4.19 ignition 2.21.0-5.el9_6, rv 5.14.0-570.64.1.el9_6, perf 5.14.0-570.64.1.el9_6, rtla 5.14.0-570.64.1.el9_6, kernel 5.14.0-570.64.1.el9_6, libperf 5.14.0-570.64.1.el9_6, +96 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 12 mo ago
Exploit prediction
0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.4 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H |
| CNA | 4.0 | 8.4 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/opencontainers/runc | >=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 |
1.2.8 1.3.3 1.4.0-rc.3 |
Affected products
- opencontainers runc
Classification
References
-
github.com
/opencontainers/runc/commit/01de9d65dc72f67b256ef03f9bfb795a2bf143b4
web, patch
-
github.com
/opencontainers/runc/commit/398955bccb7f20565c224a3064d331c19e422398
web, patch
-
github.com
/opencontainers/runc/commit/531ef794e4ecd628006a865ad334a048ee2b4b2e
web, patch
-
github.com
/opencontainers/runc/commit/9be1dbf4ac67d9840a043ebd2df5c68f36705d1d
web, patch
-
github.com
/opencontainers/runc/commit/aee7d3fe355dd02939d44155e308ea0052e0d53a
web, patch
-
github.com
/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64
web, patch
-
github.com
/opencontainers/runc/commit/de87203e625cd7a27141fb5f2ad00a320c69c5e8
web, patch
-
github.com
/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480
web, patch
-
github.com
/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r
web, exploit, mitigation, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-52565
advisory
-
github.com
/opencontainers/runc
package
Sources
- CVE List CVE-2025-52565
- GitHub Advisory GHSA-qw9x-cqr3-wc7r
- NVD CVE-2025-52565
- OSV GO-2025-4097
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.