CVE-2019-19726: OpenBSD - Privilege Escalation
- Cve: CVE-2019-19726
- Name: OpenBSD - Privilege Escalation
- 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.
- Impact: Local users can escalate privileges to root by executing arbitrary code, potentially compromising the entire system.
- Remediation: Update to the latest OpenBSD version where this issue is fixed or apply security patches addressing the resource limit check.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03522
- Epss percentile: 0.89523
- Assignee: [email protected]
- Published at: 2019-12-12T01:15:10Z
- Age in days: 2539
- Modified at: 2026-06-17T02:27:08Z
- Patch available: yes
- Public exploits total: 4
- References total: 9
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-19726
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-269 | Improper Privilege Management |
Public exploits
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.openbsd.org/errata66.html | Patch, Vendor Advisory |
| http://packetstormsecurity.com/files/155658/Qualys-Security-Advisory-OpenBSD-Dynamic-Loader-Privilege-Escalation.html | Exploit, Third Party Advisory, VDB Entry |
| http://seclists.org/fulldisclosure/2019/Dec/31 | Exploit, Mailing List, Third Party Advisory |
| https://seclists.org/bugtraq/2019/Dec/25 | Exploit, Mailing List, Third Party Advisory |
| http://packetstormsecurity.com/files/155764/OpenBSD-Dynamic-Loader-chpass-Privilege-Escalation.html | Third Party Advisory, VDB Entry |
| https://www.openwall.com/lists/oss-security/2019/12/11/9 | Mailing List, Third Party Advisory |
| http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.html | |
| http://seclists.org/fulldisclosure/2023/Oct/11 | |
| http://www.openwall.com/lists/oss-security/2023/10/03/2 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openbsd:openbsd | <= 6.6 | no | nvd | /v1/products/openbsd/openbsd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 4
- Public exploit first date: 2019-12-11
- Authentication required: yes
- Exposed hosts: 989
- Checked, none or zero: known exploited, known exploited by, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports