{"id":"CVE-2026-120067","aliases":["CVE-2026-120067"],"related":[],"kind":"vulnerability","state":"published","title":"psqlODBC stack buffer overflow copying ctid and oid values for updatable cursors","summary":"For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for tables with OIDs, oid columns to the query. It copies each value into a 32-byte stack buffer using the length the server sent, without checking it against the buffer size, so a value of 32 bytes or more writes past the buffer. A server not trusted under current SSL settings can send such a value. So can any database user who can create a view with its own column named ctid that the application reads with an updatable cursor. Builds with _FORTIFY_SOURCE abort; other builds overwrite adjacent stack memory. Versions before psqlODBC 18.00.0006 are affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for tables with OIDs, oid columns to the query. It copies each value into a 32-byte stack buffer using the length the server sent, without checking it against the buffer size, so a value of 32 bytes or more writes past the buffer. A server not trusted under current SSL settings can send such a value. So can any database user who can create a view with its own column named ctid that the application reads with an updatable cursor. Builds with _FORTIFY_SOURCE abort; other builds overwrite adjacent stack memory. Versions before psqlODBC 18.00.0006 are affected.","source":"cvelist"}],"published":"2026-11-02T19:09:15.519Z","modified":"2026-11-02T20:17:40.043Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-121","CWE-787"],"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-3r96-h2q4-6pxh","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Deus Rex"],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T19:32:53.485Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120067","url":"https://www.cve.org/CVERecord?id=CVE-2026-120067","licence":"CVE Terms of Use","modified":"2026-11-02T19:33:08.506Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120067","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120067","licence":"Public domain","modified":"2026-11-02T20:17:40.043Z"}],"updatedAt":"2026-11-25T22:59:48.218Z","epss":{"score":0.00348,"percentile":0.30431,"date":"2026-12-01T12:00:22.000Z"}}