For updatable cursors, which are enabled by default, psqlODBC adds hidden ctid and, for tables with OIDs, oid columns to the query.
- CVSS
- 5.9Medium
- Chance of exploitation (EPSS)
- 0.37%
- Published
- Nov 2, 2026
- In the news
- Not yet
What to do
A moderate buffer overflow in Postgresql Psqlodbc that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 18.00.0006
Affected versions
- Postgresql Psqlodbc
- Before 18.00.0006
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.
Affected products
Get alerts for these →Timeline 9
Latest change: Nessus plugin 385817: AlmaLinux 9.2 [TuxCare] Security Update: postgresql-odbc / postgresql-odbc-tests Multiple Vulnerabilities (ALMALINUX9.2:CLSA-2026:1795522179) (Nov 23, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Nov 24, 2026
Sat, Nov 21, 2026
- DetectionNessus plugin 384915: AlmaLinux 9.6 [TuxCare] Security Update: postgresql-odbc / postgresql-odbc-tests Multiple Vulnerabilities (ALMALINUX9.6:CLSA-2026:1795204742)Tenable
- DetectionNessus plugin 384917: Rocky Linux 9.6 [TuxCare] Security Update: postgresql-odbc / postgresql-odbc-tests Multiple Vulnerabilities (ALMALINUX9.6:CLSA-2026:1795204742)Tenable
Wed, Nov 18, 2026
Thu, Nov 12, 2026
- DetectionNessus plugin 379879: Amazon Linux 2023 : postgresql-odbc, postgresql-odbc-tests (ALAS2023-2026-3427)Tenable
- DetectionNessus plugin 379421: openSUSE 16 Security Update : psqlODBC (openSUSE-SU-2026:22261-1)Tenable
- DetectionNessus plugin 379484: SUSE SLED15 / SLES15 Security Update : psqlODBC (SUSE-SU-2026:5191-1)Tenable
Mon, Nov 2, 2026
- CVECVE-2026-120067 published (CVSS 5.9)CVE Program · 19:18 UTC
- DetectionNessus plugin 375338: Linux Distros Unpatched Vulnerability : CVE-2026-120067Tenable
References 1
- github.com /postgresql-interfaces/psqlodbc/security/advisories/GHSA-3r96-h2q4-6pxh