Vulnerability
CVE-2025-52565
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.
326 advisories report this vulnerability, across 15 ecosystems.
Advisories
-
ALAS2023-2025-1286
Amazon Linux 2023 - ALAS2023-2025-1286: Important priority package update for runc
-
ALPINE-CVE-2025-52565
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…
- ALPINE-EDGE-CVE-2025-52565
-
ALSA-2025:19927
Important: runc security update
-
ALSA-2025:20957
Important: runc security update
-
ALSA-2025:21232
Important: container-tools:rhel8 security update
-
AZL-69821
CVE-2025-52565 affecting package moby-runc for versions less than 1.2.8-1
-
AZL-70513
CVE-2025-52565 affecting package buildah 1.18.0-29
-
AZL-70589
CVE-2025-52565 affecting package kubernetes for versions less than 1.30.10-16
- CGA-236c-gr76-cwqx
- CGA-24vq-wq35-94g3
- CGA-25xq-8736-jvm3
- CGA-27c3-j35c-3g47
- CGA-27jj-cgxc-xmx6
- CGA-28mw-h5px-87cc
- CGA-29hm-3g7q-fg99
- CGA-29wj-7m77-q46h
- CGA-2f7j-q7wv-3m82
- CGA-2g6h-3326-p6vm
- CGA-2h3g-cgp9-qvx5
- CGA-2hr6-272h-p853
- CGA-2mfx-c7w4-rr24
- CGA-2pc8-xv2w-vjv9
- CGA-2pjp-rprw-w7q7
- CGA-2qvw-2439-9cw4
- CGA-2r67-rg26-9p3x
- CGA-2rjw-v3xp-p584
- CGA-2xj9-cg4r-xmfh
- CGA-35h4-76qr-4r4c
- CGA-35v6-f88v-r3r3
- CGA-364g-54wg-cg5q
- CGA-36jw-x85h-wcvv
- CGA-3823-chg4-jpp8
- CGA-38x3-2pqh-5rfh
- CGA-38x9-x954-6h2p
- CGA-39c8-f5m3-448q
- CGA-3ch8-ff4p-6r7p
- CGA-3gc5-59hc-667w
- CGA-3hrw-rqwx-98g6
- CGA-3jx4-r5gf-w9pv
- CGA-3m8f-fwq7-jxv5
- CGA-3p5v-j497-wcv8
- CGA-3qx5-frqx-jxfg
- CGA-3w4h-33p4-pw9x
- CGA-3wjf-hg8h-cr6f
- CGA-3x33-v73g-6f4v
- CGA-3x98-rrmc-gc79
- CGA-479f-5prc-r47r
- CGA-4825-3323-562w
- CGA-48g9-77p3-qmq9
- CGA-496v-v837-j5w6
- CGA-49g5-wrww-5375
- CGA-4c97-fgfx-xp59
- CGA-4cgj-cjhv-m963
- CGA-4cvx-wqqj-3mqq
- CGA-4fh7-49fc-p42j
- CGA-4mvv-hfr5-ggm2
- CGA-4pwf-5hm3-rq35
- CGA-4r6p-rjq2-47g4
- CGA-4rg8-g7p5-pwpg
- CGA-4x45-5qgm-4w96
- CGA-526g-8jc9-3vfc
- CGA-52j5-p3fv-4f79
- CGA-53x4-mrxr-9g23
- CGA-563w-2mcj-wvm5
- CGA-56rx-gcvx-pv77
- CGA-57q5-fpxh-9v63
- CGA-5c55-vj8x-w5cq
- CGA-5ccg-x289-q4cp
- CGA-5f23-2g94-4wf7
- CGA-5g4f-xfjv-wwc7
- CGA-5m26-xhcr-57rg
- CGA-5m9m-v7rc-x97f
- CGA-5mx2-mh79-rx4q
- CGA-5pc7-7q3p-qr84
- CGA-5pp2-xchr-q29f
- CGA-5rmf-8c2p-655m
- CGA-5vqc-mvhm-877m
- CGA-62qg-8ppr-3wq6
- CGA-666v-9jgh-624p
- CGA-6hc4-94cp-jgr4
- CGA-6m5f-7gw3-fmqc
- CGA-6x4p-m738-j6xh
- CGA-6x87-cjw4-376g
- CGA-78gm-rg57-m48h
- CGA-7c5h-9xjm-89cf
- CGA-7cvv-94xj-xrpv
- CGA-7ggm-hxxg-3cjv
- CGA-7gqx-wf9h-vc4q
- CGA-7mhx-h8q3-4hrc
- CGA-7qcc-f3g9-5gwr
- CGA-7r5m-hq2p-q382
- CGA-7rhv-h2ph-7xjr
- CGA-7x4x-93f6-32mh
- CGA-85r4-fv2r-m22r
- CGA-88pc-75hf-q3fc
- CGA-8932-6q38-7cx5
- CGA-89h4-wcg8-8w74
- CGA-8cfq-4qwm-fwp2
- CGA-8jfg-229m-gh98
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2025-52565.
References
- 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
- https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r