Catálogo de CVE

CVE-2026-138405

psqlodbc affected and fixed versions

[Catálogo de CVE]

Before psqlODBC writes a connection string to its debug log, it masks the password. It masked only a keyword written exactly as PWD or Password. A password given under " PWD", "PWD ", "Passwd" or "sslpassword" went into the log unmasked. The log line for each keyword also showed the value of any keyword the driver does not recognise, so a password under a misspelled keyword was logged as well. A masked secret was replaced one character at a time, so the log showed the length of the password, and of each secret in pqopt. CVE-2026-136504 covers two other ways the password reached the log: the setup dialog's Test button and the Unicode connect functions logged the connection string before it was masked. That is fixed in 18.00.0007. The faults described here are in the masking itself, and they remain in 18.00.0007. The debug log is off by default, and only an administrator turns it on with the Debug setting. Only someone who later reads the log sees the password, which in practice means a log attached to a bug report or sent to support. Versions up to and including psqlODBC 18.00.0007 are affected.

Gravedad
Medium · CVSS 3.1 · 5.0CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.22% · 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-138405]
Debianforkypsqlodbc1:18.00.0008-1FixedDistribution-reported fixed boundary[CVE-2026-138405]
More observations (21)
Distribution / releasePackageVersionStatusSource
DebianbookwormpsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-138405]
Debianbookwormpsqlodbc1:13.02.0000-2Affected[CVE-2026-138405]
DebiantrixiepsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-138405]
Debiantrixiepsqlodbc1:17.00.0004-2Affected[CVE-2026-138405]
Ubuntu16.04psqlodbc1:09.03.0300-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu18.04psqlodbc1:09.06.0410-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu18.04psqlodbc1:10.00.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu18.04psqlodbc1:10.01.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu20.04psqlodbc1:11.00.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu20.04psqlodbc1:12.00.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu20.04psqlodbc1:12.01.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu22.04psqlodbc1:13.00.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu22.04psqlodbc1:13.02.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu22.04psqlodbc1:13.02.0000-2Affected[UBUNTU-CVE-2026-138405]
Ubuntu24.04psqlodbc1:15.00.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu24.04psqlodbc1:16.00.0000-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu26.04psqlodbc1:17.00.0006-2Affected[UBUNTU-CVE-2026-138405]
Ubuntu26.04psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu26.10psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu26.10psqlodbc1:18.00.0001-1Affected[UBUNTU-CVE-2026-138405]
Ubuntu26.10psqlodbc1:18.00.0002-1Affected[UBUNTU-CVE-2026-138405]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [odbc-postgresql]Afectada

    Paquete fuente: [psqlodbc]

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

      Afectada

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

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

      Afectada

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

[Debian 13 (Trixie)]

  • [odbc-postgresql]Afectada

    Paquete fuente: [psqlodbc]

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

      Afectada

      pypi · psqlodbc · debian · 13

    • 1:17.00.0004-2 · arm64 · trixie

      Afectada

      pypi · psqlodbc · debian · 13

Observado:

Referencias