{"id":"CVE-2019-5736","details":"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.","modified":"2026-04-16T04:39:50.516705774Z","published":"2019-02-11T19:29:00.297Z","related":["ALSA-2019:0975","CGA-6f3p-hv3h-6gmw","SUSE-SU-2019:0362-1","SUSE-SU-2019:0385-1","SUSE-SU-2019:0495-1","SUSE-SU-2019:0573-1","SUSE-SU-2019:1234-1","SUSE-SU-2019:1234-2","SUSE-SU-2019:2117-1","SUSE-SU-2019:2119-1","SUSE-SU-2021:1458-1","openSUSE-SU-2019:0170-1","openSUSE-SU-2019:0208-1","openSUSE-SU-2019:0252-1","openSUSE-SU-2019:0295-1","openSUSE-SU-2019:1227-1","openSUSE-SU-2019:1275-1","openSUSE-SU-2019:1444-1","openSUSE-SU-2019:1499-1","openSUSE-SU-2019:1506-1","openSUSE-SU-2019:2021-1","openSUSE-SU-2019:2245-1","openSUSE-SU-2019:2286-1","openSUSE-SU-2024:10693-1","openSUSE-SU-2024:10762-1","openSUSE-SU-2024:11030-1","openSUSE-SU-2024:11358-1"],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/a585f64d14c31ab393b90c5f17e41d9765a1a17eec63856ce750af46%40%3Cdev.dlab.apache.org%3E"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6A4OSFM5GGOWW4ECELV5OHX2XRAUSPH/"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/01/31/6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EGZKRCKI3Y7FMADO2MENMT4TU24QGHFR/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SWFJGIPYAAAMVSWWI3QWYXGA3ZBU2H4W/"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2%40%3Cissues.geode.apache.org%3E"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/02/02/3"},{"type":"WEB","url":"https://lists.apache.org/thread.html/24e54e3c6b2259e3903b6b8fe26896ac649c481ea99c5739468c92a3%40%3Cdev.dlab.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/b162dd624dc088cd634292f0402282a1d1d0ce853baeae8205bc033c%40%3Cdev.mesos.apache.org%3E"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLC52IOJN6IQJWJ6CUI6AIUP6GVVG2QP/"},{"type":"WEB","url":"https://lists.apache.org/thread.html/a258757af84c5074dc7bf932622020fd4f60cef65a84290380386706%40%3Cuser.mesos.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rc494623986d76593873ce5a40dd69cb3629400d10750d5d7e96b8587%40%3Cdev.dlab.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/acacf018c12636e41667e94ac0a1e9244e887eef2debdd474640aa6e%40%3Cdev.dlab.apache.org%3E"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/02/01/1"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/165197/Docker-runc-Command-Execution-Proof-Of-Concept.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/07/06/3"},{"type":"ADVISORY","url":"https://access.redhat.com/security/vulnerabilities/runcescape"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0304"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0975"},{"type":"ADVISORY","url":"https://aws.amazon.com/security/security-bulletins/AWS-2019-002/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202003-21"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html"},{"type":"ADVISORY","url":"https://cloud.google.com/kubernetes-engine/docs/security-bulletins#february-11-2019-runc"},{"type":"ADVISORY","url":"https://github.com/docker/docker-ce/releases/tag/v18.09.2"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4048-1/"},{"type":"ADVISORY","url":"https://www.synology.com/security/advisory/Synology_SA_19_06"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/07/06/4"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0401"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0303"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/cve-2019-5736"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00074.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/10/29/3"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html"},{"type":"ADVISORY","url":"https://github.com/rancher/runc-cve"},{"type":"ADVISORY","url":"https://www.twistlock.com/2019/02/11/how-to-mitigate-cve-2019-5736-in-runc-and-docker/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00091.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/10/24/1"},{"type":"ADVISORY","url":"https://kubernetes.io/blog/2019/02/11/runc-and-cve-2019-5736/"},{"type":"ADVISORY","url":"https://softwaresupport.softwaregrp.com/document/-/facetsearch/document/KM03410944"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00029.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00007.html"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/03/23/1"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:0408"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190307-0008/"},{"type":"ADVISORY","url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190215-runc"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2019/06/28/2"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106976"},{"type":"REPORT","url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03913en_us"},{"type":"FIX","url":"https://azure.microsoft.com/en-us/updates/cve-2019-5736-and-runc-vulnerability/"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b"},{"type":"FIX","url":"https://www.openwall.com/lists/oss-security/2019/02/11/2"},{"type":"FIX","url":"https://azure.microsoft.com/en-us/updates/iot-edge-fix-cve-2019-5736/"},{"type":"FIX","url":"https://support.mesosphere.com/s/article/Known-Issue-Container-Runtime-Vulnerability-MSPH-2019-0003"},{"type":"FIX","url":"https://bugzilla.suse.com/show_bug.cgi?id=1121967"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/6635b4f0c6af3810594d2770f662f34ddc15b40d"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/46369/"},{"type":"EVIDENCE","url":"https://brauner.github.io/2019/02/12/privileged-containers.html"},{"type":"EVIDENCE","url":"https://github.com/q3k/cve-2019-5736-poc"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/46359/"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/163339/Docker-Container-Escape.html"},{"type":"EVIDENCE","url":"https://blog.dragonsector.pl/2019/02/cve-2019-5736-escape-from-docker-and.html"},{"type":"EVIDENCE","url":"https://github.com/Frichetten/CVE-2019-5736-PoC"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/mesos","events":[{"introduced":"b3fd2e7ab26e118222fe18af4b92c53a3c01e6cc"},{"fixed":"1fee9b5365bf2424e4768dc1d5209c6c78dfece6"},{"introduced":"f7e3872b0359c6095f8eeaefe408cb7dcef5bb83"},{"fixed":"b1dbba03af23b0222d11f2b7ae936d77ef42650d"},{"introduced":"c7df5eadc075adcf525ea091f65786aaffb9b072"},{"fixed":"a40aab9d0642b883c52504b1672878dc38438f36"},{"introduced":"8419b870c571ac11825c883fa20ea3b7d4348d34"},{"fixed":"58cc918e9acc2865bb07047d3d2dff156d1708b2"}],"database_specific":{"versions":[{"introduced":"1.4.0"},{"fixed":"1.4.3"},{"introduced":"1.5.0"},{"fixed":"1.5.3"},{"introduced":"1.6.0"},{"fixed":"1.6.2"},{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}},{"type":"GIT","repo":"https://github.com/docker-archive/docker-ce","events":[{"introduced":"0"},{"fixed":"62479626f213818ba5b4565105a05277308587d5"}]},{"type":"GIT","repo":"https://github.com/docker/docker","events":[{"introduced":"0"},{"fixed":"eb137ff1765faeb29c2d99025bfd8ed41836dd06"},{"introduced":"0"},{"fixed":"23cf638307f030cd8d48c9efc21feec18a6f88f8"},{"introduced":"0"},{"last_affected":"63df8cf4b5d6473291eaf499107825c41af3b5e4"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"18.09.2"},{"introduced":"1.11.10"},{"fixed":"1.12.1"},{"introduced":"0"},{"last_affected":"18.04"}]}},{"type":"GIT","repo":"https://github.com/lxc/lxc","events":[{"introduced":"0"},{"fixed":"65123ff553d7a5b5abcf3047410bcf50d25c9b55"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.2.0"}]}},{"type":"GIT","repo":"https://github.com/opencontainers/runc","events":[{"introduced":"0"},{"last_affected":"baf6536d6259209c3edfa2b22237af82942d3dfa"},{"introduced":"0"},{"last_affected":"04f275d4601ca7e5ff9460cec7f65e8dd15443ec"},{"introduced":"0"},{"last_affected":"c91b5bea4830a57eac7882d7455d59518cdf70ec"},{"introduced":"0"},{"last_affected":"75f8da7c889acc4509a0cf6f0d3a8f9584778375"},{"introduced":"0"},{"last_affected":"2e7cfe036e2c6dc51ccca6eb7fa3ee6b63976dcd"},{"introduced":"0"},{"last_affected":"4fc53a81fb7c994640722ac585fa9ca548971871"},{"introduced":"0"},{"last_affected":"ccb5efd37fb7c86364786e9137e22948751de7ed"},{"fixed":"0a8e4117e7f715d5fbeef398405813ce8e88558b"},{"fixed":"6635b4f0c6af3810594d2770f662f34ddc15b40d"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.1.1"},{"introduced":"0"},{"last_affected":"1.0.0-rc1"},{"introduced":"0"},{"last_affected":"1.0.0-rc2"},{"introduced":"0"},{"last_affected":"1.0.0-rc3"},{"introduced":"0"},{"last_affected":"1.0.0-rc4"},{"introduced":"0"},{"last_affected":"1.0.0-rc5"},{"introduced":"0"},{"last_affected":"1.0.0-rc6"}]}},{"type":"GIT","repo":"https://github.com/openshift/origin","events":[{"introduced":"0"},{"last_affected":"7ed6862914ef20e22280c51199be5071e354999f"},{"introduced":"0"},{"last_affected":"c4dd4cf368b6204571faacde702e624b930a5214"},{"introduced":"0"},{"last_affected":"7ed6862914ef20e22280c51199be5071e354999f"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.7"},{"introduced":"0"},{"last_affected":"3.6"},{"introduced":"0"},{"last_affected":"3.7"}]}}],"versions":["0.0.3","1.4.0","1.4.0-rc5","1.4.1","1.4.1-rc1","1.4.2","1.4.2-rc1","1.4.3-rc1","1.5.0","1.5.0-rc2","1.5.1","1.5.1-rc1","1.5.2","1.5.2-rc1","1.5.2-rc2","1.5.2-rc3","1.6.0","1.6.0-rc1","1.6.1","1.6.1-rc1","1.6.1-rc2","1.7.0","1.7.0-rc3","1.7.1","1.7.1-rc1","1.7.1-rc2","docs-v1.12.0-rc4-2016-07-15","lxc-0.6.5","lxc-0.7.0","lxc-0.7.1","lxc-0.7.2","lxc-0.7.3","lxc-0.7.4","lxc-0.7.4-rc1","lxc-0.7.5","lxc-0.8.0","lxc-0.8.0-rc2","lxc-0.9.0","lxc-0.9.0.alpha1","lxc-0.9.0.alpha2","lxc-0.9.0.alpha3","lxc-0.9.0.rc1","lxc-1.0.0","lxc-1.0.0.alpha1","lxc-1.0.0.alpha2","lxc-1.0.0.alpha3","lxc-1.0.0.beta1","lxc-1.0.0.beta2","lxc-1.0.0.beta3","lxc-1.0.0.beta4","lxc-1.0.0.rc1","lxc-1.0.0.rc2","lxc-1.0.0.rc3","lxc-1.0.0.rc4","lxc-1.1.0","lxc-1.1.0.alpha1","lxc-1.1.0.alpha2","lxc-1.1.0.alpha3","lxc-1.1.0.rc1","lxc-1.1.0.rc2","lxc-1.1.0.rc3","lxc-1.1.0.rc4","lxc-2.0.0","lxc-2.0.0.beta1","lxc-2.0.0.beta2","lxc-2.0.0.rc1","lxc-2.0.0.rc10","lxc-2.0.0.rc11","lxc-2.0.0.rc12","lxc-2.0.0.rc13","lxc-2.0.0.rc14","lxc-2.0.0.rc15","lxc-2.0.0.rc2","lxc-2.0.0.rc3","lxc-2.0.0.rc4","lxc-2.0.0.rc5","lxc-2.0.0.rc6","lxc-2.0.0.rc7","lxc-2.0.0.rc8","lxc-2.0.0.rc9","lxc-2.1.0","lxc-3.0.0","lxc-3.0.0.beta1","lxc-3.0.0.beta2","lxc-3.0.0.beta3","lxc-3.0.0.beta4","lxc-3.1.0","lxc_0_1_0","lxc_0_2_0","lxc_0_2_1","lxc_0_4_0","lxc_0_5_0","lxc_0_5_1","lxc_0_5_2","lxc_0_6_0","lxc_0_6_1","lxc_0_6_2","lxc_0_6_3","lxc_0_6_4","upstream/0.1.2","upstream/0.1.3","v0.0.1","v0.0.2","v0.0.3","v0.0.4","v0.0.5","v0.0.6","v0.0.7","v0.0.8","v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.6","v0.1.7","v0.1.8","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.3.2","v0.4.1","v0.4.2","v0.4.4","v0.4.5","v0.4.7","v0.5.0","v0.6.5","v0.7.0","v0.7.1","v0.7.2","v1.0.0","v1.0.0-rc1","v1.0.0-rc2","v1.0.0-rc3","v1.0.0-rc4","v1.0.0-rc5","v1.0.0-rc6","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.0.8","v1.1","v1.1.1","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.12.0","v1.12.0-rc1","v1.12.0-rc2","v1.12.0-rc4","v1.12.0-rc5","v1.12.1-rc1","v1.12.1-rc2","v1.2.0-rc1","v1.2.0-rc2","v1.3.0","v1.3.0-alpha.0","v1.3.0-alpha.1","v1.3.0-alpha.3","v1.3.0-rc1","v1.4.0-alpha.0","v1.4.0-alpha.1","v1.5.0-alpha.0","v1.5.0-alpha.1","v1.5.0-alpha.2","v1.5.0-alpha.3","v18.04.0-ce","v18.04.0-ce-rc2","v18.06.0-ce-rc1","v18.09.0","v18.09.0-beta3","v18.09.0-beta5","v18.09.0-ce-beta1","v18.09.0-ce-tp0","v18.09.0-ce-tp3","v18.09.0-ce-tp4","v18.09.0-ce-tp5","v18.09.0-ce-tp6","v18.09.0-rc1","v18.09.1","v18.09.1-beta1","v18.09.1-beta2","v18.09.1-rc1","v3.6.0","v3.6.0-alpha.0","v3.6.0-alpha.1","v3.6.0-alpha.2","v3.7.0","v3.7.0-rc.0"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"3.4"}]},{"events":[{"introduced":"0"},{"last_affected":"3.5"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"15.0-NA"}]},{"events":[{"introduced":"0"},{"last_affected":"15.0-sp1"}]},{"events":[{"introduced":"0"},{"last_affected":"15.0"}]},{"events":[{"introduced":"0"},{"last_affected":"15.1"}]},{"events":[{"introduced":"0"},{"last_affected":"42.3"}]},{"events":[{"introduced":"0"},{"fixed":"2.2.0-1.13.3"}]},{"events":[{"introduced":"0"},{"fixed":"1.10.10"}]},{"events":[{"introduced":"1.10.11"},{"fixed":"1.11.9"}]},{"events":[{"introduced":"0"},{"last_affected":"29"}]},{"events":[{"introduced":"0"},{"last_affected":"30"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.10"}]},{"events":[{"introduced":"0"},{"last_affected":"19.04"}]},{"events":[{"introduced":"0"},{"last_affected":"2018.02"}]},{"events":[{"introduced":"0"},{"last_affected":"2018.05"}]},{"events":[{"introduced":"0"},{"last_affected":"2018.08"}]},{"events":[{"introduced":"0"},{"last_affected":"2018.11"}]}],"vanir_signatures_modified":"2026-04-11T17:54:09Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5736.json","vanir_signatures":[{"source":"https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b","id":"CVE-2019-5736-1cffac28","deprecated":false,"signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["206209469052802163709281360376397312675","48219882597669953983429687793407620753","213043235157353488768314210772726520178","251821556443359960608428361047721063429","93222659505421272286403399172694346479","107309039482126281655838517999257961732"]},"signature_version":"v1","target":{"file":"libcontainer/nsenter/nsexec.c"}},{"source":"https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b","target":{"file":"libcontainer/nsenter/nsexec.c","function":"nsexec"},"deprecated":false,"signature_type":"Function","digest":{"function_hash":"43249958159973239119332662430070161949","length":6892},"signature_version":"v1","id":"CVE-2019-5736-c45baaa5"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}