Skip to main content
HIGH

CVE-2025-52565

CVSS v3

7.5

HIGH

EPSS Score

0.6 %

exploit probability, as of 2026-10-18

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for opencontainers/runc.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • github.com/opencontainers/runcGofrom 1.0.0-rc3 · fixed in 1.2.8
  • aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+4047+545787c4
  • buildahAlmaLinux:8all versions · fixed in 2:1.33.12-2.module_el8.10.0+4016+efd18bf8
  • buildah-testsAlmaLinux:8all versions · fixed in 2:1.33.12-2.module_el8.10.0+4047+545787c4
  • cockpit-podmanAlmaLinux:8all versions · fixed in 84.1-1.module_el8.10.0+4016+efd18bf8
  • conmonAlmaLinux:8all versions · fixed in 3:2.1.10-1.module_el8.10.0+4068+0e21408f
  • container-selinuxAlmaLinux:8all versions · fixed in 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7
  • containernetworking-pluginsAlmaLinux:8all versions · fixed in 1:1.4.0-6.module_el8.10.0+4068+0e21408f

20 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-52565 Red Hat Product Security1,229 products fixed

    runc: container escape with malicious config due to /dev/console mount and related races

  • RHSA-2026:10703 Red Hat Product Security435 products fixed

    Red Hat Security Advisory: container-tools:rhel8 security update

  • RHSA-2026:8325 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: buildah, crun, podman, runc, and skopeo security update

  • RHSA-2026:6492 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.12.87 bug fix and security update

  • RHSA-2026:4693 Red Hat Product Security227 products fixed

    Red Hat Security Advisory: container-tools:rhel8 security update

  • RHSA-2026:4531 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: runc security update

28 more advisories

Full record on NVD

Description

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.

Technical details

Published
2025-11-06

Frequently asked questions

What is 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.

Is CVE-2025-52565 actively exploited?

Active exploitation of CVE-2025-52565 has not been confirmed. Its EPSS score was 0.6% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-52565?

CVE-2025-52565 has a CVSS v3 base score of 7.5 (HIGH severity).

Running opencontainers/runc? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month