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.
Symlink
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
GitHub_MCNA
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 3%
VendorProductVersion
linuxfoundationrunc
1.0.1 ≤
𝑥
< 1.2.8
linuxfoundationrunc
1.3.0 ≤
𝑥
< 1.3.3
linuxfoundationrunc
1.0.0:rc3
linuxfoundationrunc
1.0.0:rc4
linuxfoundationrunc
1.0.0:rc5
linuxfoundationrunc
1.0.0:rc6
linuxfoundationrunc
1.0.0:rc7
linuxfoundationrunc
1.0.0:rc8
linuxfoundationrunc
1.0.0:rc9
linuxfoundationrunc
1.0.0:rc90
linuxfoundationrunc
1.0.0:rc91
linuxfoundationrunc
1.0.0:rc92
linuxfoundationrunc
1.0.0:rc93
linuxfoundationrunc
1.0.0:rc94
linuxfoundationrunc
1.0.0:rc95
linuxfoundationrunc
1.4.0:rc1
linuxfoundationrunc
1.4.0:rc2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
runc
bullseye
vulnerable
bullseye (security)
vulnerable
bookworm
vulnerable
bookworm (security)
vulnerable
trixie
vulnerable
forky
1.3.3+ds1-2
fixed
sid
1.3.3+ds1-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
runc
questing
ignored
plucky
ignored
noble
ignored
jammy
ignored
focal
ignored
bionic
ignored
xenial
ignored
runc-app
questing
Fixed 1.3.3-0ubuntu1~25.10.2
released
plucky
Fixed 1.3.3-0ubuntu1~25.04.2
released
noble
Fixed 1.3.3-0ubuntu1~24.04.2
released
jammy
Fixed 1.3.3-0ubuntu1~22.04.2
released
focal
ignored
runc-stable
questing
Fixed 1.3.3-0ubuntu1~25.10.2
released
noble
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne