CVE-2019-19726OpenBSD through 6.6 allows local users to escalate to root because a check for LD_LIBRARY_PATH in setuid programs can be defeated by…
- 7.8HighCVSS base score
- 3.5%Exploitation in 30 daysEPSS · top 11% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 2 Exploit-DB entries for it.
Show the exploits3
Metasploit modules1 module
- OpenBSD Dynamic Loader chpass Privilege Escalation (Metasploit module) (opens in a new tab)
exploit/openbsd/local/dynamic_loader_chpass_privescRank excellentdisclosed 11 Dec 2019
Exploit-DB2 entries
- OpenBSD - Dynamic Loader chpass Privilege Escalation (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 47803local, openbsdpublished 30 Dec 2019Verified
- OpenBSD 6.x - Dynamic Loader Privilege Escalation (Exploit-DB entry) (opens in a new tab)
EDB-ID 47780local, openbsdpublished 16 Dec 2019Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.5% · top 11% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
References
References9
- https://www.openbsd.org/errata66.html (opens in a new tab)x_transferred
- https://www.openwall.com/lists/oss-security/2019/12/11/9 (opens in a new tab)x_transferred
- 20191212 Local Privilege Escalation in OpenBSD's dynamic loader (CVE-2019-19726) (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.html (opens in a new tab)x_transferred
- 20191213 Local Privilege Escalation in OpenBSD's dynamic loader (CVE-2019-19726) (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.html (opens in a new tab)x_transferred
- [oss-security] 20231003 CVE-2023-4911: Local Privilege Escalation in the glibc's ld.so (opens in a new tab)mailing-listx_transferred
- 20231005 CVE-2023-4911: Local Privilege Escalation in the glibc's ld.so (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-9328 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-19726)Record last updated .