Catálogo de CVE

CVE-2026-136502

psqlodbc affected and fixed versions

[Catálogo de CVE]

psqlODBC scans statement text itself to substitute parameters, translate ODBC escapes, join batched statements and rewrite queries for updatable cursors. Where it read the text differently from the server, text the driver took for data ran as SQL, or a positioned write went to another table: - An escape string constant written e'…' in lower case was not recognised as one, and '…' after a keyword ending in E, as in LIKE'…', was taken for one. - A } inside a quoted literal ended an ODBC {d …}, {t …}, {ts …} or {escape …} sequence. - Dollar-quote tags containing _ were not recognised, and an identifier starting with _ followed by $, such as _$$, was taken for the start of a dollar quote, so a parameter marker inside a literal was substituted. - A trailing -- comment in one statement of a batched parameter array swallowed the next statement. - Comments, literals longer than 255 bytes and escape strings were misread when the driver located the FROM and WHERE clauses of a query for an updatable cursor, and the text copied into the cursor's own queries could include SQL from inside a literal. - A table name containing $ was cut at the $, and a quoted table name starting with , or ; ended the table list, so positioned updates, inserts and deletes went to another table. - An integer parameter with an embedded NUL byte cut the query short. - /*/ was taken for a comment that opens and closes, while the server reads it as one that only opens. - ConnSettings was split at every semicolon, including one inside a quoted literal, so an application that puts an end user's value into a SET command there ran the rest of the value as SQL at connect time. An end user who controls text the application puts into a statement, or a parameter value, can run SQL with the rights of the application's database role. A database user who can create a table with a crafted name can redirect another user's positioned writes to a table of their choosing. Versions up to and including psqlODBC 18.00.0006 are affected.

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

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

[openSUSE Leap 15.6]

  • [psqlODBC]Desconocido

    Paquete fuente: [psqlODBC]

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

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · ppc64le · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · s390x · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

    • 16.00.0000-150600.1.2 · x86_64 · leap-15.6

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

[openSUSE Leap 16.0]

  • [psqlODBC]Desconocido

    Paquete fuente: [psqlODBC]

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

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

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

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

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

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

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

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

[openSUSE Tumbleweed]

  • [psqlODBC]Desconocido

    Paquete fuente: [psqlODBC]

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

      Desconocido · Corregida: 18.00.0007-1.1

      Version impact unknown

      pypi · psqlODBC · opensuse · tumbleweed

Observado:

Referencias