{"id":"CVE-2026-120061","aliases":["CVE-2026-120061"],"related":[],"kind":"vulnerability","state":"published","title":"psqlODBC ODBC escape parser stack buffer overflow","summary":"The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. Versions before psqlODBC 18.00.0006 are affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. Versions before psqlODBC 18.00.0006 are affected.","source":"cvelist"}],"published":"2026-11-02T19:09:11.590Z","modified":"2026-11-02T20:17:39.313Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/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:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-121","CWE-193","CWE-457"],"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-hfm6-qfx8-v4xq","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-02T19:34:51.857Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120061","url":"https://www.cve.org/CVERecord?id=CVE-2026-120061","licence":"CVE Terms of Use","modified":"2026-11-02T19:35:04.484Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120061","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120061","licence":"Public domain","modified":"2026-11-02T20:17:39.313Z"}],"updatedAt":"2026-11-25T22:59:48.217Z","epss":{"score":0.00342,"percentile":0.29772,"date":"2026-12-01T12:00:22.000Z"}}