CVE-2026-120058

HIGH CVSS 3.1: 7.5 EPSS 0.34%
Updated Nov 02, 2026
psqlODBC
Parameter Value
CVSS 7.5 (HIGH)
Type CWE-191 (Integer Underflow), CWE-787 (Out-of-bounds Write)
Vendor psqlODBC
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1