{"id":"CVE-2019-19726","state":"PUBLISHED","title":"OpenBSD through 6.6 allows local users to escalate to root because a check for LD_LIBRARY_PATH in setuid programs can be defeated by setting a very small RLIMIT_DATA resource limit","description":"OpenBSD through 6.6 allows local users to escalate to root because a check for LD_LIBRARY_PATH in setuid programs can be defeated by setting a very small RLIMIT_DATA resource limit. When executing chpass or passwd (which are setuid root), _dl_setup_env in ld.so tries to strip LD_LIBRARY_PATH from the environment, but fails when it cannot allocate memory. Thus, the attacker is able to execute their own library code as root.","publishedAt":"2019-12-12T00:00:00.000Z","updatedAt":"2024-08-05T02:25:12.567Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.openbsd.org/errata66.html","https://www.openwall.com/lists/oss-security/2019/12/11/9","https://seclists.org/bugtraq/2019/Dec/25","http://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.html","http://seclists.org/fulldisclosure/2019/Dec/31","http://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.html","http://www.openwall.com/lists/oss-security/2023/10/03/2","http://seclists.org/fulldisclosure/2023/Oct/11","http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:43.853Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/19xxx/CVE-2019-19726.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-19726","state":"PUBLISHED","datePublished":"2019-12-12T00:00:00.000Z","dateUpdated":"2024-08-05T02:25:12.567Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-12-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"OpenBSD through 6.6 allows local users to escalate to root because a check for LD_LIBRARY_PATH in setuid programs can be defeated by setting a very small RLIMIT_DATA resource limit. When executing chpass or passwd (which are setuid root), _dl_setup_env in ld.so tries to strip LD_LIBRARY_PATH from the environment, but fails when it cannot allocate memory. Thus, the attacker is able to execute their own library code as root."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.openbsd.org/errata66.html"},{"url":"https://www.openwall.com/lists/oss-security/2019/12/11/9"},{"url":"https://seclists.org/bugtraq/2019/Dec/25","name":"20191212 Local Privilege Escalation in OpenBSD's dynamic loader (CVE-2019-19726)","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.html"},{"url":"http://seclists.org/fulldisclosure/2019/Dec/31","name":"20191213 Local Privilege Escalation in OpenBSD's dynamic loader (CVE-2019-19726)","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.html"},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/2","name":"[oss-security] 20231003 CVE-2023-4911: Local Privilege Escalation in the glibc's ld.so","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2023/Oct/11","name":"20231005 CVE-2023-4911: Local Privilege Escalation in the glibc's ld.so","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-10-06T16:06:13.389Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.openbsd.org/errata66.html","tags":["x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2019/12/11/9","tags":["x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Dec/25","name":"20191212 Local Privilege Escalation in OpenBSD's dynamic loader (CVE-2019-19726)","tags":["mailing-list","x_transferred"]},{"url":"http://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.html","tags":["x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2019/Dec/31","name":"20191213 Local Privilege Escalation in OpenBSD's dynamic loader (CVE-2019-19726)","tags":["mailing-list","x_transferred"]},{"url":"http://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.html","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/2","name":"[oss-security] 20231003 CVE-2023-4911: Local Privilege Escalation in the glibc's ld.so","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2023/Oct/11","name":"20231005 CVE-2023-4911: Local Privilege Escalation in the glibc's ld.so","tags":["mailing-list","x_transferred"]},{"url":"http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T02:25:12.567Z"}}]}}}