CVE-2026-120059
JSON

6.8medium

psqlODBC uses a server-supplied column name as a format string

Severity
6.8medium CVSS:3.1 by PostgreSQL
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

Description

For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the server, into a printf-style format string. It later expands that string with one argument while it builds the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements. A column name that contains format directives makes the driver read unrelated memory, which can crash the application or copy client memory into query text sent to the server. The name can come from a server not trusted under current SSL settings, or from any database user who can create a table that the application reads with an updatable cursor. Versions before psqlODBC 18.00.0006 are affected.

Affected

Product or packageVersionsReported by
PostgreSQL psqlODBCbefore 18.00.0006CVE List

Classification

CWE-134

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120059 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-120059 changed 2026-11-02Public domain