Catalogo CVE

CVE-2026-138406

psqlodbc affected and fixed versions

[Catalogo CVE]

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.

Gravità
High · CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Dec 4, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiansidpsqlodbc1:18.00.0008-1FixedDistribution-reported fixed boundary[CVE-2026-138406]
Debianforkypsqlodbc1:18.00.0008-1FixedDistribution-reported fixed boundary[CVE-2026-138406]
More observations (21)
Distribution / releasePackageVersionStatusSource
DebianbookwormpsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-138406]
Debianbookwormpsqlodbc1:13.02.0000-2Affected[CVE-2026-138406]
DebiantrixiepsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-138406]
Debiantrixiepsqlodbc1:17.00.0004-2Affected[CVE-2026-138406]
Ubuntu16.04psqlodbc1:09.03.0300-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu18.04psqlodbc1:09.06.0410-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu18.04psqlodbc1:10.00.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu18.04psqlodbc1:10.01.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu20.04psqlodbc1:11.00.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu20.04psqlodbc1:12.00.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu20.04psqlodbc1:12.01.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu22.04psqlodbc1:13.00.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu22.04psqlodbc1:13.02.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu22.04psqlodbc1:13.02.0000-2Affected[UBUNTU-CVE-2026-138406]
Ubuntu24.04psqlodbc1:15.00.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu24.04psqlodbc1:16.00.0000-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu26.04psqlodbc1:17.00.0006-2Affected[UBUNTU-CVE-2026-138406]
Ubuntu26.04psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu26.10psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu26.10psqlodbc1:18.00.0001-1Affected[UBUNTU-CVE-2026-138406]
Ubuntu26.10psqlodbc1:18.00.0002-1Affected[UBUNTU-CVE-2026-138406]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [odbc-postgresql]Interessata

    Pacchetto sorgente: [psqlodbc]

    Dettagli (2)
    • 1:13.02.0000-2+b1 · amd64 · bookworm

      Interessata

      dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12

    • 1:13.02.0000-2+b1 · arm64 · bookworm

      Interessata

      dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12

[Debian 13 (Trixie)]

  • [odbc-postgresql]Interessata

    Pacchetto sorgente: [psqlodbc]

    Dettagli (2)
    • 1:17.00.0004-2 · amd64 · trixie

      Interessata

      pypi · psqlodbc · debian · 13

    • 1:17.00.0004-2 · arm64 · trixie

      Interessata

      pypi · psqlodbc · debian · 13

Osservato:

Riferimenti