Vulnerabilities · 2019 · Openbsd
CVE-2019-19726
Openbsd vulnerability
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 products
Openbsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Openbsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openbsd.org/errata66.html · Patch
- packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privi · Exploit
- packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.ht · Third Party Advisory
- seclists.org/fulldisclosure/2019/Dec/31 · Exploit
- seclists.org/bugtraq/2019/Dec/25 · Exploit
- www.openwall.com/lists/oss-security/2019/12/11/9 · Third Party Advisory
- packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html
- seclists.org/fulldisclosure/2023/Oct/11
- nvd.nist.gov/vuln/detail/CVE-2019-19726
- cve.org/CVERecord?id=CVE-2019-19726
More vulnerabilities in Openbsd products
CVE-2025-32728CVE-2025-30334CVE-2025-26466CVE-2025-26465CVE-2024-29937CVE-2024-11149CVE-2024-11148CVE-2024-10934All 307
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.