Skip to content
OpenAdvisories
High · 7.1 CVE-2026-120065 EUVD-2026-115378GHSA-gv3c-v55x-3f23

psqlODBC does not escape a server-supplied column name in its updatable-cursor queries

Published Nov 2, 2026 · Updated Nov 2, 2026 · Assigned by PostgreSQL

Description

For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC uses that column to identify rows. It places the column's name, as reported by the server, between double quotes in its keyset queries and in the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements, without doubling any double quote in the name. A column name that contains a double quote therefore changes the SQL that the driver runs with the application's privileges, including which rows a positioned UPDATE or DELETE affects. Any database user who can create a table that the application reads with an updatable cursor can choose such a name, and so can a server not trusted under current SSL settings. Versions before psqlODBC 18.00.0006 are affected.

Affected products

VendorProductAffectedFixed
PostgreSQL psqlODBC < 18.00.0006 18.00.0006

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 psqlodbc 1:18.00.0006-1 —
Debian 13 psqlodbc No fix yet —
Debian 12 psqlodbc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 psqlodbc No fix yet —
Ubuntu 26.04 LTS psqlodbc No fix yet —
Ubuntu 24.04 LTS psqlodbc No fix yet —
Ubuntu 22.04 LTS psqlodbc No fix yet —
Ubuntu 20.04 LTS psqlodbc No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS psqlodbc No fix yet —
Ubuntu 16.04 LTS psqlodbc No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 psqlODBC 18.00.0006-150600.3.5.1 SUSE-SU-2026:5191-1
SLES 15 SP6 psqlODBC 18.00.0006-150600.3.5.1 SUSE-SU-2026:5191-1
SLES 12 SP5 psqlODBC 18.00.0006-1.8.1 SUSE-SU-2026:5192-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 psqlODBC 18.00.0006-150600.3.5.1 SUSE-SU-2026:5191-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed psqlODBC 18.00.0006-1.1 openSUSE-SU-2026:12472-1
openSUSE Leap 16.0 psqlODBC 18.00.0006-bp160.1.1 openSUSE-SU-2026:22261-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 postgresql-odbc +1 18.00.0006-1.amzn2023.0.1 ALAS2023-2026-3427
Amazon Linux 2 postgresql-odbc 09.03.0100-2.amzn2.0.3 ALAS2-2026-4103

Advisories 6

References