{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-120067","id":"CVE-2026-120067","title":"PostgreSQL psqlODBC stack buffer overflow in 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 dat","descriptionLong":"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.","published":"2026-11-02T19:09:15.519Z","updated":"2026-11-17T17:28:08.172867445Z","reserved":"2026-10-30T19:25:18.920Z","status":"Awaiting Analysis","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"PostgreSQL"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["PostgreSQL psqlODBC"],"affectedProducts":[{"vendor":"PostgreSQL","product":"psqlODBC","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"18.00.0006","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-121","CWE-787"],"aliases":["GHSA-3r96-h2q4-6pxh"],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-3r96-h2q4-6pxh","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120067.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120067","tags":["advisory"]},{"url":"https://github.com/postgresql-interfaces/psqlodbc","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00348,"epssPercentile":0.28889,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-120067","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120067","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-120067","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-120067","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":["postgresql"],"critical":[],"attention":null}