CVE-2019-19726Openbsd
High 7.8
Follow: this CVE · Openbsd · Openbsd We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- Yes
- Published
- Dec 12, 2019
- Updated
- Jun 17, 2026
- Category
- Operating system · Cross-platform
- Weakness (CWE)
- CWE-269
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Openbsd.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openbsd | openbsd | ≤ 6.6 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Third Party Advisory VDB Entry
- packetstormsecurity.com
- seclists.org Exploit Mailing List Third Party Advisory
- seclists.org
- www.openwall.com
- seclists.org Exploit Mailing List Third Party Advisory
- www.openbsd.org Patch Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory