Bug 2565364 (CVE-2026-120058) - CVE-2026-120058 postgresql-odbc: postgresql-odbc: Arbitrary code execution via heap buffer overflow during cursor fetch
Summary: CVE-2026-120058 postgresql-odbc: postgresql-odbc: Arbitrary code execution vi...
Keywords:
Status: NEW
Alias: CVE-2026-120058
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-02 19:33 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-02 19:33:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.