CVE-2026-120059

published 2 Nov 2026 · updated 16 Nov 2026

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

6.8MediumCVSS 6.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 18.00.0006.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
postgresql<18.00.000618.00.0006

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120059 severity on Zeptric[![CVE-2026-120059](https://zeptric.io/badge/cve/CVE-2026-120059.svg)](https://zeptric.io/cve/CVE-2026-120059)