Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
Upgrade to psqlODBC 18.00.0006 or later. identifierEscape bounds every write to the output buffer, including the closing quote and the terminator.
Vendor Workaround
Do not pass SQL text from untrusted sources to the driver.
Tracking
Sign in to view the affected projects.
No advisories yet.
Mon, 02 Nov 2026 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY. In the @@IDENTITY rewrite, a column name sent by the server can also write one byte past the buffer. The bytes written past the buffer are a double quote and a NUL. An application that forwards untrusted SQL text to the driver exposes its process to stack corruption. Versions before psqlODBC 18.00.0006 are affected. | |
| Title | psqlODBC stack buffer overflow when quoting long schema and table names | |
| Weaknesses | CWE-121 CWE-787 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: PostgreSQL
Published:
Updated: 2026-11-02T19:36:16.948Z
Reserved: 2026-10-30T19:25:18.920Z
Link: CVE-2026-120063
No data.
Status : Awaiting Analysis
Published: 2026-11-02T19:18:03.557
Modified: 2026-11-02T19:34:23.993
Link: CVE-2026-120063
No data.
OpenCVE Enrichment
No data.