
Catalogo CVE
CVE-2026-138406
psqlodbc affected and fixed versions
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.3
CVSS: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 / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | psqlodbc | 1:18.00.0008-1 | FixedDistribution-reported fixed boundary | [CVE-2026-138406] |
| Debianforky | psqlodbc | 1:18.00.0008-1 | FixedDistribution-reported fixed boundary | [CVE-2026-138406] |
More observations (21)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-138406] |
| Debianbookworm | psqlodbc | 1:13.02.0000-2 | Affected | [CVE-2026-138406] |
| Debiantrixie | psqlodbc | Not reported | AffectedDistribution reports no fix | [CVE-2026-138406] |
| Debiantrixie | psqlodbc | 1:17.00.0004-2 | Affected | [CVE-2026-138406] |
| Ubuntu16.04 | psqlodbc | 1:09.03.0300-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu18.04 | psqlodbc | 1:09.06.0410-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu18.04 | psqlodbc | 1:10.00.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu18.04 | psqlodbc | 1:10.01.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu20.04 | psqlodbc | 1:11.00.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu20.04 | psqlodbc | 1:12.00.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu20.04 | psqlodbc | 1:12.01.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu22.04 | psqlodbc | 1:13.00.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu22.04 | psqlodbc | 1:13.02.0000-2 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu24.04 | psqlodbc | 1:15.00.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu24.04 | psqlodbc | 1:16.00.0000-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0006-2 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu26.04 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu26.10 | psqlodbc | 1:17.00.0007-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0001-1 | Affected | [UBUNTU-CVE-2026-138406] |
| Ubuntu26.10 | psqlodbc | 1:18.00.0002-1 | Affected | [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 · bookwormInteressata
dsa · psqlodbc · debian · bookworm; pypi · psqlodbc · debian · 12
1:13.02.0000-2+b1· arm64 · bookwormInteressata
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 · trixieInteressata
pypi · psqlodbc · debian · 13
1:17.00.0004-2· arm64 · trixieInteressata
pypi · psqlodbc · debian · 13
Osservato:
Riferimenti
- [https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-138406.json]
- [https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-xqhj-2prq-g662]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-138406]
- [https://odbc.postgresql.org/changelog/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-138406]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-138406]
- [https://security-tracker.debian.org/tracker/CVE-2026-138406]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]