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

Mon, 02 Nov 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql psqlodbc
Vendors & Products Postgresql
Postgresql psqlodbc

Mon, 02 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 02 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title psqlODBC uses a server-supplied column name as a format string
Weaknesses CWE-134
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published: 2026-11-02T19:09:10.340Z

Updated: 2026-11-02T19:34:22.575Z

Reserved: 2026-10-30T19:25:18.919Z

Link: CVE-2026-120059

cve-icon Vulnrichment

Updated: 2026-11-02T19:34:16.419Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-02T19:18:02.993

Modified: 2026-11-02T20:17:39.060

Link: CVE-2026-120059

cve-icon Redhat

No data.