Security mailing lists by PureSourceCode

CVE-2026-138406

HIGH 7.3CVSS 3.1

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

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.

Published
29 Nov 2026
Last modified
3 Dec 2026
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
NVD status
Awaiting Analysis
Weakness
CWE-427
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVE List PostgreSQL CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://odbc.postgresql.org/ psqlodbc <= 18.00.0007

References

History

  • 3 Dec 2026 21:56 UTC · CVE List: updated (other details)
  • 3 Dec 2026 21:56 UTC · NVD: updated (other details)
  • 30 Nov 2026 15:31 UTC · NVD: status Received → Awaiting Analysis
  • 29 Nov 2026 19:18 UTC · NVD: first stored (published 29 Nov 2026)
  • 29 Nov 2026 18:19 UTC · CVE List: first stored (published 29 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.