psqlODBC uses a server-supplied column name as a format string
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 2, 2026
- Updated
- Nov 2, 2026
- Reserved
- Oct 30, 2026
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.
| Product | Versions |
|---|---|
| psqlODBC PostgreSQL | before 18.00.0006 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.8 Medium | PostgreSQL |
Weaknesses
- CWE-134 Use of Externally-Controlled Format String
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.