CVE-2026-120058
Published:November 02, 2026
Updated:November 04, 2026
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.
Affected Packages
https://github.com/postgresql-interfaces/psqlodbc.git (GITHUB):
Affected version(s) >=REL-09_05_0100 <REL-18_00_0006 || >=REL-10_00_0000 <REL-18_00_0006 || >=REL-11_00_0000 <REL-18_00_0006 || >=REL-12_00_0000 <REL-18_00_0006 || >=REL-13_00_0000 <REL-18_00_0006 || =REL-15_00_0000 <REL-18_00_0006 || >=REL-16_00_0000 <REL-18_00_0006 || >=REL-17_00_0000 <REL-18_00_0006 || >=REL-18_00_0000 <REL-18_00_0006Fix Suggestion:
Update to version REL-18_00_0006Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
EPSS
Base Score:
0.26