cve.bz

CVE-2026-120067 Stack-based Buffer Overflow

5.9 mediumEPSS 0.3%

Medium (5.9). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-121 Stack-based Buffer Overflow
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-120067 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120067?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120067?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120067 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13psqlodbcno fix listedDEBIAN-CVE-2026-120067
Debian14psqlodbc1:18.00.0006-1DEBIAN-CVE-2026-120067
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morepsqlodbcno fix listedUBUNTU-CVE-2026-120067
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morepsqlODBC18.00.0006-150000.3.14.1SUSE-SU-2026:5253-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6psqlODBC18.00.0006-150600.3.5.1SUSE-SU-2026:5191-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5psqlODBC18.00.0006-1.8.1SUSE-SU-2026:5192-1
openSUSELeap 16.0psqlODBC18.00.0006-bp160.1.1openSUSE-SU-2026:22261-1
openSUSETumbleweedpsqlODBC18.00.0006-1.1openSUSE-SU-2026:12472-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat has evaluated this vulnerability as having a Moderate impact because successful exploitation requires specific non-default conditions, such as connecting to an untrusted database endpoint or an attacker having privileges to craft custom views. On Red Hat Enterprise Linux, binaries are built with security hardening flags, including compiler-level buffer overflow protection, which causes the application to immediately terminate instead of allowing memory corruption or arbitrary code execution. Consequently, the primary operational risk to client applications utilizing this driver is a crash leading to denial of service.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10postgresql-odbcFix deferred
Red Hat Enterprise Linux 6postgresql-odbcOut of support scope
Red Hat Enterprise Linux 7postgresql-odbcFix deferred
Red Hat Enterprise Linux 8postgresql-odbcFix deferred
Red Hat Enterprise Linux 9postgresql-odbcFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-120067.

References

Check your stackJSON