nday
CVE-2019-19726

OpenBSD through 6.6 allows local users to escalate to root because a check for LD_LIBRARY_PATH in…Title composed by nday; the CVE record has none.

A public PoC appeared 4 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

improper privilege management
CWE-269, stated by NVD's analysts
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Metasploit
Metasploit modules exploit/openbsd/local/dynamic_loader_chpass_privesc
Exploit-DB
Exploit-DB entries 47780, 47803
stage
POC
disclosed
disclosure → PoC
T+4d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2019-12-12T00:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2019-12-16, date only +1 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 64031,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2019-19726",
  "occurred_at": "2019-12-12T00:00:00Z",
  "observed_at": "2026-11-12T21:04:12.541754Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2019-12-12T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2019-12-16date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “OpenBSD 6.x - Dynamic Loader Privilege Escalation” (EDB-47780). Verified by Exploit-DB.

src exploitdb 47780 · nday , bulk import · raw
{
  "id": 28325,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/47780",
  "occurred_at": "2019-12-16T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "47780",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/47780",
    "file": "exploits/openbsd/local/47780.txt",
    "kind": "exploit",
    "tags": [
      "Local"
    ],
    "type": "local",
    "title": "OpenBSD 6.x - Dynamic Loader Privilege Escalation",
    "author": "Qualys Corporation",
    "edb_id": 47780,
    "cve_ids": [
      "CVE-2019-19726"
    ],
    "platform": "openbsd",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-12-16",
    "date_updated": "2019-12-16",
    "date_published": "2019-12-16"
  }
}
2019-12-30date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “OpenBSD - Dynamic Loader chpass Privilege Escalation (Metasploit)” (EDB-47803). Verified by Exploit-DB.

src exploitdb 47803 · nday , bulk import · raw
{
  "id": 28321,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/47803",
  "occurred_at": "2019-12-30T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "47803",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/47803",
    "file": "exploits/openbsd/local/47803.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)",
      "Local"
    ],
    "type": "local",
    "title": "OpenBSD - Dynamic Loader chpass Privilege Escalation (Metasploit)",
    "author": "Metasploit",
    "edb_id": 47803,
    "cve_ids": [
      "CVE-2019-19726"
    ],
    "platform": "openbsd",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-12-30",
    "date_updated": "2019-12-30",
    "date_published": "2019-12-30"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/openbsd/local/dynamic_loader_chpass_privesc (OpenBSD Dynamic Loader chpass Privilege Escalation). The source gives no release time for the module.

src metasploit exploit/openbsd/local/dynamic_loader_chpass_privesc · nday , bulk import · raw
{
  "id": 51592,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/openbsd/local/dynamic_loader_chpass_privesc.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/openbsd/local/dynamic_loader_chpass_privesc",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/openbsd/local/dynamic_loader_chpass_privesc.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/openbsd/local/dynamic_loader_chpass_privesc.rb",
    "rank": 600,
    "check": true,
    "title": "OpenBSD Dynamic Loader chpass Privilege Escalation",
    "cve_ids": [
      "CVE-2019-19726"
    ],
    "fullname": "exploit/openbsd/local/dynamic_loader_chpass_privesc",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2023-02-02 18:17:02 +0000",
    "vuln_disclosure_date": "2019-12-11"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.