CVE-2026-120057
JSON

7.5high

psqlODBC large-object read overflows the application buffer

Severity
7.5high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

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

Product or packageVersionsReported by
PostgreSQL psqlODBCbefore 18.00.0006CVE List

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120057 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-120057 changed 2026-11-02Public domain