CVE-2026-120057

psqlODBC large-object read overflows the application buffer

High published · updated

7.5
CVSS score out of 10 · NVD (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)

Description

psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more bytes than the buffer holds and overwrite adjacent memory in the client process with server-chosen bytes. Fetching any large-object column is sufficient to trigger it. Versions before psqlODBC 18.00.0006 are affected.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
psqlodbc postgresql 0 → <18.00.000618.00.0006 CVE.org

References