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

CVE-2025-52565 · Severity: medium · CVSS 4 · Published 2025-11-18

Container escape with malicious config due to /dev/console mount and related races in github.com/opencontainers/runc

Technologies: github.com/opencontainers/runc (Go). Vendors: Go.

Quick answers

Is CVE-2025-52565 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-52565 being exploited in the wild.
How severe is CVE-2025-52565?
Medium severity, with a CVSS score of 4, published 18 November 2025.
Which products and versions are affected?
github.com/opencontainers/runc (Go) SEMVER:introduced=1.0.0-rc3,fixed=1.2.8, SEMVER:introduced=1.0.0-rc3,fixed=1.2.8,introduced=1.3.0-rc.1,fixed=1.3.3,introduced=1.4.0-rc.1,fixed=1.4.0-rc.3.
Is there a fix for CVE-2025-52565?
Yes. github.com/opencontainers/runc (Go): upgrade to 1.2.8, 1.4.0-rc.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-52565?
Check whether you run github.com/opencontainers/runc (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/opencontainers/runc (Go): upgrade to 1.2.8, 1.4.0-rc.3 or later
    go get github.com/opencontainers/runc@v1.4.0-rc.3

Affected products

  • github.com/opencontainers/runc (Go) SEMVER:introduced=1.0.0-rc3,fixed=1.2.8, SEMVER:introduced=1.0.0-rc3,fixed=1.2.8,introduced=1.3.0-rc.1,fixed=1.3.3,introduced=1.4.0-rc.1,fixed=1.4.0-rc.3

Identifiers

  • CVE-2025-52565
  • GHSA-qw9x-cqr3-wc7r
  • GO-2025-4097

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.