CVE-2026-120064
JSON

7.5high

psqlODBC does not validate column numbers and row indexes in binding and descriptor functions

Severity
7.5high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

Description

Several psqlODBC entry points use an application-supplied column number or row index as an array index without validating it. SQLBindCol with a column number above 32767 wraps the binding count negative and a later copy runs off the array. A negative SQL_DESC_COUNT on an application row descriptor unbinds columns at negative indexes. SQLColAttribute with a very large column number uses a negative index. SQLSetPos(SQL_ADD) does not check the row number against the rowset size. An application that forwards untrusted column or row numbers exposes its process to out-of-bounds reads and writes. Versions before psqlODBC 18.00.0006 are affected.

Affected

Product or packageVersionsReported by
PostgreSQL psqlODBCbefore 18.00.0006CVE List

Classification

CWE-129CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120064 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-120064 changed 2026-11-02Public domain