CVE-Katalog

CVE-2026-136506

psqlodbc affected and fixed versions

[CVE-Katalog]

psqlODBC builds queries of its own from names, and put these names into them without escaping or qualification: - the database name in SQLForeignKeys(); - the current schema name in catalog functions; - the table name in the currtid2() call that re-reads rows of updatable cursors; - column names in the inserts and updates of SQLSetPos() and SQLBulkOperations(); - cursor names set with SQLSetCursorName() or returned as refcursors (FetchRefcursors=1); - parameter names (SQL_DESC_NAME) in procedure calls; - the = operator in an OID comparison in SQLColumns(), which the server resolves through search_path. The column names of the fourth item are a variant of CVE-2026-120065 (GHSA-9cg8-r57h-h6jj). The fix for that advisory, in 18.00.0006, doubles " in the stored row-identifier name, which the keyset queries and the WHERE clause of the positioned statements use. The column names that SQLSetPos() and SQLBulkOperations() put into the SET list of their UPDATE and into the column list of their SQL_ADD INSERT come from the catalog and were not covered by it, so a driver patched to 18.00.0006 is still affected by this one. A database user who can create a database, schema, table, column or operator with a crafted name, or an end user who supplies a cursor or parameter name to the application, can run SQL with the rights of the application's database role. Versions up to and including psqlODBC 18.00.0006 are affected.

Schweregrad
High · CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · 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.0007-1FixedDistribution-reported fixed boundary[CVE-2026-136506]
Debiansidpsqlodbc1:18.00.0008-1Fixed[CVE-2026-136506]
Debianforkypsqlodbc1:18.00.0007-1FixedDistribution-reported fixed boundary[CVE-2026-136506]
Debianforkypsqlodbc1:18.00.0008-1Fixed[CVE-2026-136506]
More observations (22)
Distribution / releasePackageVersionStatusSource
DebianbookwormpsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-136506]
Debianbookwormpsqlodbc1:13.02.0000-2Affected[CVE-2026-136506]
DebiantrixiepsqlodbcNot reportedAffectedDistribution reports no fix[CVE-2026-136506]
Debiantrixiepsqlodbc1:17.00.0004-2Affected[CVE-2026-136506]
OpensusetumbleweedpsqlODBC18.00.0007-1.1UnknownSource applicability is not established[OPENSUSE-SU-2026:12716-1]
Ubuntu16.04psqlodbc1:09.03.0300-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu18.04psqlodbc1:09.06.0410-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu18.04psqlodbc1:10.00.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu18.04psqlodbc1:10.01.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu20.04psqlodbc1:11.00.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu20.04psqlodbc1:12.00.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu20.04psqlodbc1:12.01.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu22.04psqlodbc1:13.00.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu22.04psqlodbc1:13.02.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu22.04psqlodbc1:13.02.0000-2Affected[UBUNTU-CVE-2026-136506]
Ubuntu24.04psqlodbc1:15.00.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu24.04psqlodbc1:16.00.0000-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu26.04psqlodbc1:17.00.0006-2Affected[UBUNTU-CVE-2026-136506]
Ubuntu26.04psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu26.10psqlodbc1:17.00.0007-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu26.10psqlodbc1:18.00.0001-1Affected[UBUNTU-CVE-2026-136506]
Ubuntu26.10psqlodbc1:18.00.0002-1Affected[UBUNTU-CVE-2026-136506]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [odbc-postgresql]Betroffen

    Quellpaket: [psqlodbc]

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

      Betroffen

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

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

      Betroffen

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

[Debian 13 (Trixie)]

  • [odbc-postgresql]Betroffen

    Quellpaket: [psqlodbc]

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

      Betroffen

      pypi · psqlodbc · debian · 13

    • 1:17.00.0004-2 · arm64 · trixie

      Betroffen

      pypi · psqlodbc · debian · 13

[openSUSE Leap 15.6]

  • [psqlODBC]Unbekannt

    Quellpaket: [psqlODBC]

    Details (4)
    • 16.00.0000-150600.1.2 · aarch64 · leap-15.6

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · ppc64le · leap-15.6

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · s390x · leap-15.6

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · x86_64 · leap-15.6

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

[openSUSE Leap 16.0]

  • [psqlODBC]Unbekannt

    Quellpaket: [psqlODBC]

    Details (4)
    • 16.00.0000-bp160.1.12 · aarch64 · leap-16.0

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-bp160.1.12 · ppc64le · leap-16.0

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-bp160.1.12 · s390x · leap-16.0

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-bp160.1.12 · x86_64 · leap-16.0

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

[openSUSE Tumbleweed]

  • [psqlODBC]Unbekannt

    Quellpaket: [psqlODBC]

    Details (1)
    • 17.00.0008-1.4 · x86_64 · tumbleweed

      Unbekannt · Behoben: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

Beobachtet:

Referenzen