# CVE-2026-120064: psqlODBC does not validate column numbers and row indexes in binding and descriptor functions

- Severity: High 7.5 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-11-02T19:09:13.482Z
- Modified: 2026-11-02T20:17:39.673Z
- Weaknesses: CWE-129, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- PostgreSQL psqlODBC: before 18.00.0006

## References

- <https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-7pq2-q7mj-ph8c> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-120064](https://www.cve.org/CVERecord?id=CVE-2026-120064), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-120064](https://nvd.nist.gov/vuln/detail/CVE-2026-120064), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-120064 · Whole record: https://cve.day/CVE-2026-120064.json · Rebuilt by cve.day 2026-11-25T22:59:48.218Z
