Several psqlODBC entry points use an application-supplied column number or row index as an array index without validating it. SQLBindCol with a column...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10psqlodbc |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSpsqlodbc |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com