CVE-2025-52565 in Linuxfoundation Runc
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Runc | 1.0.0 1.4.0 ≥ 1.0.1, < 1.2.8 ≥ 1.3.0, < 1.3.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-52565 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-262342-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| Published | 2025-11-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-61: CWE-61
CWE-363: CWE-363
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-61
CAPEC-26 Leveraging Race Conditions via CWE-363
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A vulnerability in runc 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 allows attackers to bind-mount paths that should be read-only or masked, potentially leading to unauthorized access or privilege escalation within containers.", "attack_vector_detail": "The vulnerability arises from insufficient checks when runc performs bind-mount operations, specifically when mounting `/dev/pts/$n` to `/dev/console` inside the container. An attacker can exploit this to bind-mount other paths that should be restricted, bypassing intended security measures.", "affected_components": ["runc versions 1.0.0-rc3 through 1.2.7", "runc versions 1.3.0-rc.1 through 1.3.2", "runc versions 1.4.0-rc.1 through 1.4.0-rc.2"], "exploitation_likelihood": "MEDIUM", "remediation_priority": "HIGH
Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.
Questions
What is CVE-2025-52565?
{ "executive_summary": "A vulnerability in runc 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 allows attackers to bind-mount paths that should be read-only or masked, potentially leading to unauthorized access or privilege escalation within containers.", "attack_vector_detail": "The vulnerability arises from insufficient checks when runc performs bind-mount operations, specifically when mounting `/dev/pts/$n` to `/dev/console` inside the contai
What is the CVSS score for CVE-2025-52565?
CVE-2025-52565 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2025-52565 actively exploited?
No confirmed active exploitation of CVE-2025-52565 as of 2026-09-25.
How do I remediate CVE-2025-52565?
Priority: MEDIUM.
What systems are affected by CVE-2025-52565?
CVE-2025-52565 affects Linuxfoundation Runc.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"Runc","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.