CVE-2026-120058
psqlODBC row cache overflow when a later FETCH changes the column count
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
psqlODBC sizes its row cache from the column count of a cursor's first result, but recomputes the column count from each later FETCH reply without checking that it matches. A server not trusted under current SSL settings can answer a later FETCH with more columns and make the driver write tuple records past the end of the heap allocation. A keyset reply with fewer columns than the key fields also underflows the unsigned field count. This is reachable with UseDeclareFetch enabled. Versions before psqlODBC 18.00.0006 are affected.
| CWE | CWE-787 CWE-191 |
| Vendor | postgresql |
| Product | psqlodbc |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 2, 2026 |
| Last Updated | Nov 2, 2026 |
Stay Ahead of the Next One
Get instant alerts for postgresql psqlodbc
Be the first to know when new high vulnerabilities affecting postgresql psqlodbc are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
PostgreSQL / psqlODBC
0 < 18.00.0006