Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-52565
November 06, 2025
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.
Affected Packages
https://github.com/opencontainers/runc.git (GITHUB):
Affected version(s) >=v1.3.0-rc.1 <v1.3.3
Fix Suggestion:
Update to version v1.3.3
https://github.com/opencontainers/runc.git (GITHUB):
Affected version(s) >=v0.0.1 <v1.2.8
Fix Suggestion:
Update to version v1.2.8
https://github.com/opencontainers/runc.git (GITHUB):
Affected version(s) >=v1.4.0-rc.1 <v1.4.0-rc.3
Fix Suggestion:
Update to version v1.4.0-rc.3
github.com/opencontainers/runc (GO):
Affected version(s) >=v1.3.0 <v1.3.3
Fix Suggestion:
Update to version v1.3.3
github.com/opencontainers/runc (GO):
Affected version(s) >=v0.0.1 <v1.2.8
Fix Suggestion:
Update to version v1.2.8
github.com/opencontainers/runc (GO):
Affected version(s) >=v1.4.0-rc.1 <v1.4.0-rc.3
Fix Suggestion:
Update to version v1.4.0-rc.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
6.3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Race Condition Enabling Link Following
UNIX Symbolic Link (Symlink) Following
EPSS
Base Score:
0.03