{"id":"CVE-2019-19726","aliases":["CVE-2019-19726"],"related":[],"kind":"vulnerability","state":"published","title":"OpenBSD through 6.6 allows local users to escalate to root because a check for LDLIBRARYPATH in setuid programs can be defeated by setting…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"OpenBSD  versiones hasta 6.6, permite a usuarios locales escalar a root porque una comprobación de LD_LIBRARY_PATH en los programas setuid puede ser vencida estableciendo un límite de recursos de RLIMIT_DATA muy pequeño. Al ejecutar chpass o passwd (que son root de setuid), en la función  _dl_setup_env en el archivo ld.so intenta eliminar LD_LIBRARY_PATH del entorno, pero presenta un fallo cuando no puede asignar memoria. Por lo tanto, el atacante es capaz de ejecutar su propio código de biblioteca como root.","source":"nvd"}],"published":"2019-12-12T00:00:00.000Z","modified":"2026-06-17T02:27:08.850Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"6.6"}],"vendor":"openbsd","product":"openbsd","cpe":"cpe:2.3:o:openbsd:openbsd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.openbsd.org/errata66.html","tags":["patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2019/12/11/9","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://seclists.org/bugtraq/2019/Dec/25","tags":["exploit","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.html","tags":["exploit","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2019/Dec/31","tags":["exploit","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.html","tags":["third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/03/2","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2023/Oct/11","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-19726","url":"https://www.cve.org/CVERecord?id=CVE-2019-19726","licence":"CVE Terms of Use","modified":"2024-08-05T02:25:12.567Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-19726","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19726","licence":"Public domain","modified":"2026-06-17T02:27:08.850Z"}],"updatedAt":"2026-11-25T22:57:48.710Z","epss":{"score":0.03522,"percentile":0.8953,"date":"2026-12-01T12:00:22.000Z"}}