{"id":"CVE-2026-120057","aliases":["CVE-2026-120057"],"related":[],"kind":"vulnerability","state":"published","title":"psqlODBC large-object read overflows the application buffer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-02T19:09:09.117Z","modified":"2026-11-02T20:17:38.787Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"18.00.0006","status":"affected"}],"vendor":"PostgreSQL","product":"psqlODBC","repo":"https://github.com/postgresql-interfaces/psqlodbc","source":"cvelist"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-qhmr-5339-q33r","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-02T19:17:40.542Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120057","url":"https://www.cve.org/CVERecord?id=CVE-2026-120057","licence":"CVE Terms of Use","modified":"2026-11-02T19:43:04.416Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120057","licence":"Public domain","modified":"2026-11-02T20:17:38.787Z"}],"updatedAt":"2026-11-25T22:59:48.216Z","epss":{"score":0.00245,"percentile":0.16789,"date":"2026-12-01T12:00:22.000Z"}}