Buffer overflow in PostgreSQL Psqlodbc
CVE-2026-120058
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (vendor-advisory)
Frequently asked questions
- What is CVE-2026-120058?
- CVE-2026-120058 is a high-severity vulnerability in PostgreSQL Psqlodbc, classified under Integer Underflow. CVSS score: 7.5/10. Published 2026-11-02.
- How severe is CVE-2026-120058?
- High severity. CVSS v3 base score is 7.5 out of 10.