← Vulnerability feed

Vulnerability record · CVE-2019-5736 · published 11 February 2019

CVE-2019-5736: runc container escape via /proc/self/exe overwrite of host binary

Docker · Docker

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, mishandles file descriptors related to /proc/self/exe, letting an attacker overwrite the host runc binary from inside a container. Because runc runs as root on the host, this yields host root access and breaks the container isolation boundary.

8.6 CVSS 3.1 High EPSS 98% · top 0.1% CWE-78 · OS command injection
8.6CVSS 3.1 base score, v2 9.3
98%EPSS exploitation probability, 30 days
NoNot in CISA KEV
19Affected product versions listed by NVD
132References, 16 tagged exploit
17 Jun 2026Last modified by NVD

Description

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityCVSS 8.6 with scope change to host root and very high EPSS, but exploitation requires local access and user interaction and it is not in CISA KEV.

What it is

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, mishandles file descriptors related to /proc/self/exe, letting an attacker overwrite the host runc binary from inside a container. Because runc runs as root on the host, this yields host root access and breaks the container isolation boundary.

Impact

An attacker who can execute a command as root inside a targeted container gains root on the host by replacing the runc binary. This is a full container escape with high confidentiality, integrity and availability impact on the host.

Attack surface

Reached locally from within a container: either a new container started from an attacker-controlled image, or an existing container the attacker previously had write access to and can attach to with docker exec. The CVSS vector shows local access, no privileges, and required user interaction (UI:R), with scope change to the host.

Exploitation

Public exploit code is referenced (Packet Storm Docker container escape and runc command execution PoC), and EPSS is very high at 0.98452 (99.9th percentile), though CISA KEV does not list it.

What to do

  • Patch runc to a fixed release and upgrade Docker to 18.09.2 or later; apply vendor errata for affected distributions and products.
  • Do not run containers from untrusted or attacker-controlled images, and restrict who can write to container filesystems or use docker exec.
  • Where patching is not immediate, apply vendor or upstream hardening guidance for runc/Docker to reduce the attack path.
  • Limit container root privileges and avoid granting untrusted workloads the ability to execute commands as root inside containers.

Detection

  • Monitor for unexpected modification or replacement of the host runc binary (hash and file integrity monitoring).
  • Alert on container processes accessing /proc/self/exe in ways consistent with the exploit, and on suspicious docker exec activity into containers.
  • Audit container image provenance and flag containers started from unknown or attacker-controlled images.
  • Watch for privilege escalation from container context to host root, including new root processes on the host tied to container activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

19 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00007.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00029.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html Third Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2019/03/23/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/28/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/07/06/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/07/06/4 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/10/24/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/10/29/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2024/01/31/6
http://www.openwall.com/lists/oss-security/2024/02/01/1
http://www.openwall.com/lists/oss-security/2024/02/02/3
http://www.securityfocus.com/bid/106976 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2019:0303 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0304 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0401 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0408 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0975 Third Party Advisory
https://access.redhat.com/security/cve/cve-2019-5736 Third Party Advisory
https://access.redhat.com/security/vulnerabilities/runcescape Third Party Advisory
https://aws.amazon.com/security/security-bulletins/AWS-2019-002/ Third Party Advisory
https://azure.microsoft.com/en-us/updates/cve-2019-5736-and-runc-vulnerability/ PatchThird Party AdvisoryVendor Advisory
https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/ PatchThird Party AdvisoryVendor Advisory
https://blog.dragonsector.pl/2019/02/cve-2019-5736-escape-from-docker-and.html ExploitMitigationThird Party Advisory
https://brauner.github.io/2019/02/12/privileged-containers.html ExploitTechnical DescriptionThird Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1121967 Issue TrackingPatchThird Party Advisory
https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc Third Party Advisory
https://github.com/Frichetten/CVE-2019-5736-PoC ExploitThird Party Advisory
https://github.com/docker/docker-ce/releases/tag/v18.09.2 Release NotesThird Party Advisory
https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b PatchThird Party Advisory
https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d PatchThird Party Advisory

Track CVE-2019-5736 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed

Source: NIST National Vulnerability Database (record CVE-2019-5736), CISA KEV, FIRST EPSS (scores of 2026-09-17). This page is refreshed as NVD updates the record.