{"id":"CVE-2026-120057","published":"2026-11-02T19:09:09Z","modified":"2026-11-02T19:43:04Z","title":"psqlODBC large-object read overflows the application buffer","vendor":"PostgreSQL","product":"psqlODBC","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00245,"percentile":0.15793,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-qhmr-5339-q33r","tags":["vendor-advisory"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":3.16},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"postgresql","affectedVersions":[{"vendor":"PostgreSQL","product":"psqlODBC","versions":["< 18.00.0006"]}],"solutions":{"items":["Upgrade to psqlODBC 18.00.0006 or later. CC_send_function receives the caller's buffer size, clamps the copy to it, and rejects short fixed-size replies."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Do not fetch large-object (lo) columns from servers that are not authenticated with sslmode=verify-full or an equivalent GSS setting."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-02T19:17:40.542954Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-115370","exploited":false,"provenance":"source"}}