CVE-2026-138406
JSON

7.3high

Another local user's pgenlist.dll runs in the application

Severity
7.3high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

Description

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.

Affected

Product or packageVersionsReported by
psqlodbcup to 18.00.0007CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138406 changed 2026-11-29CVE Terms of Use
NVDCVE-2026-138406 changed 2026-11-30Public domain