# CVE-2026-138406: Another local user's pgenlist.dll runs in the application

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-29 · Modified: 2026-12-03
- Aliases: DEBIAN-CVE-2026-138406, UBUNTU-CVE-2026-138406
- Record: https://cvemate.com/vulnerability/CVE-2026-138406 · JSON: https://cvemate.com/vulnerability/CVE-2026-138406/json

## Description

```text
psqlODBC uses pgenlist.dll, which is installed with the driver, for MSDTC enlistment. It loads the DLL the first time an application enlists. On builds made with Visual C++ 14 or later, it loaded the DLL by name, not by its path. Windows then searched the application's directory, the current directory and the directories on PATH, and none of them is where the driver installs pgenlist.dll.

So another local user who could write to one of those directories could put their own pgenlist.dll there. The next time the application enlisted in MSDTC, that DLL's code ran in the application, under the application's account. On a server, that account can have more privileges than the attacker's own.

An application that never sets SQL_ATTR_ENLIST_IN_DTC does not load pgenlist.dll and is unaffected. Only the Windows builds of the driver use pgenlist.dll.

Versions up to and including psqlODBC 18.00.0007 are affected.
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.211%, percentile 11.954%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian psqlodbc (Debian): All versions (No fix recorded) \| \< 1:18.00.0008-1
- ubuntu psqlodbc (Ubuntu): All versions (No fix recorded)
- postgresql psqlodbc: ≤ 18.00.0007

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-xqhj-2prq-g662>
- <https://odbc.postgresql.org/changelog/>
- <https://security-tracker.debian.org/tracker/CVE-2026-138406>
- <https://ubuntu.com/security/CVE-2026-138406>
- <https://www.cve.org/CVERecord?id=CVE-2026-138406>

---

Data as of 2026-12-05T04:51:28.479Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
