{"id":"UBUNTU-CVE-2026-120067","details":"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.","modified":"2026-11-04T03:30:35.866954258Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-120067"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-120067"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-120067"},{"type":"REPORT","url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-3r96-h2q4-6pxh"}],"affected":[{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:09.03.0300-1"],"ecosystem_specific":{"binaries":[{"binary_name":"odbc-postgresql","binary_version":"1:09.03.0300-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}},{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:09.06.0410-1","1:10.00.0000-1","1:10.01.0000-1"],"ecosystem_specific":{"binaries":[{"binary_name":"odbc-postgresql","binary_version":"1:10.01.0000-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}},{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:11.00.0000-1","1:12.00.0000-1","1:12.01.0000-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:12.01.0000-1","binary_name":"odbc-postgresql"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}},{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:13.00.0000-1","1:13.02.0000-1","1:13.02.0000-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:13.02.0000-2","binary_name":"odbc-postgresql"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}},{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:15.00.0000-1","1:16.00.0000-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:16.00.0000-1","binary_name":"odbc-postgresql"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}},{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:17.00.0007-1","1:18.00.0001-1","1:18.00.0002-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:18.00.0002-1","binary_name":"odbc-postgresql"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}},{"package":{"name":"psqlodbc","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/psqlodbc?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:17.00.0006-2","1:17.00.0007-1"],"ecosystem_specific":{"binaries":[{"binary_name":"odbc-postgresql","binary_version":"1:17.00.0007-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120067.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}