{"schemaVersion":4,"id":"CVE-2026-120067","aliases":["DEBIAN-CVE-2026-120067","UBUNTU-CVE-2026-120067"],"status":"published","duplicateOf":null,"title":"psqlODBC stack buffer overflow copying ctid and oid values for updatable cursors","description":"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.","dates":{"published":"2026-11-02T19:09:15.519Z","modified":"2026-11-02T19:33:08.506Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true}]},"epss":{"probability":0.00348,"percentile":0.30407,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00348},"history":[{"date":"2026-11-03T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00348,"percentile":0.30407}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00348,"percentile":0.30407}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"The product writes past the end of a buffer that was allocated on the stack.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"psqlodbc","name":"psqlodbc","label":"psqlodbc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/psqlodbc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1:18.00.0006-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:18.00.0006-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1:18.00.0006-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"psqlodbc","name":"psqlodbc","label":"psqlodbc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/psqlodbc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"postgresql","product":"psqlodbc","name":"psqlODBC","label":"psqlodbc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 18.00.0006","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.00.0006","endInclusive":false}}],"versionsText":"< 18.00.0006","eol":null,"hubHref":"/vendor/postgresql/psqlodbc"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-3r96-h2q4-6pxh","label":"github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-3r96-h2q4-6pxh","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-120067","label":"security-tracker.debian.org/tracker/CVE-2026-120067","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-120067","label":"ubuntu.com/security/CVE-2026-120067","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-120067","label":"www.cve.org/CVERecord?id=CVE-2026-120067","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12472-1","OPENSUSE-SU-2026:22261-1","SUSE-SU-2026:5191-1","SUSE-SU-2026:5192-1","SUSE-SU-2026:5253-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:12472-1","OPENSUSE-SU-2026:22261-1","SUSE-SU-2026:5191-1","SUSE-SU-2026:5192-1","SUSE-SU-2026:5253-1"]},"timeline":[{"kind":"published","date":"2026-11-02T19:09:15.519Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-02T19:33:08.506Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,59],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00348,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-02T19:33:08.506Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-02T19:33:08.506Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-02T19:33:08.506Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-02T19:33:08.506Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-02T19:32:53.485Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00348,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T05:03:04.866Z","stale":false,"partial":false}}