CVE-2026-120059 psqlODBC uses a server-supplied column name as a format string

Medium 6.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120059?

CVE-2026-120059 is a medium-severity vulnerability in PostgreSQL psqlODBC, published on 2 Nov 2026.

Official 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.

Weakness: CWE-134

Which versions are affected by CVE-2026-120059?

How do I fix CVE-2026-120059?

Upgrade to a fixed version.

Is CVE-2026-120059 being exploited?

There is no known exploitation of CVE-2026-120059 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-120059, GHSA-44rq-72jh-x2h8, GHSA-p6rq-g598-qx9f, UBUNTU-CVE-2026-120059.

Is CVE-2026-120059 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free