CVE-2019-19726
highpriority · track · 42EPSS 0.035 · 89 %ileexploit · weaponizedEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- EDB-47780OpenBSD 6.x - Dynamic Loader Privilege Escalationfunctional · exploit_db
- EDB-47803OpenBSD - Dynamic Loader chpass Privilege Escalation (Metasploit)functional · exploit_db
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (33)
External citations — patches, advisories, analysis.
- http://seclists.org/fulldisclosure/2019/Dec/31cnnvd
- http://seclists.org/fulldisclosure/2023/Oct/11cnnvd
- http://www.openwall.com/lists/oss-security/2023/10/03/2cnnvd
- https://cxsecurity.com/issue/WLB-2023100018cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-19726cnnvd
- https://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.htmlcnnvd
- https://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.htmlcnnvd
- https://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan