CVE-2026-120063
Last modified
CVE-2026-120063 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY.
Description
When psqlODBC quotes a schema or table name into a 128-byte stack buffer, its length check lets it write up to two bytes past the end of the buffer for a long name. The names come from the application's SQL text: the table of a statement the driver parses to describe its columns, and the target of the last INSERT when the driver rewrites SELECT @@IDENTITY. In the @@IDENTITY rewrite, a column name sent by the server can also write one byte past the buffer. The bytes written past the buffer are a double quote and a NUL. An application that forwards untrusted SQL text to the driver exposes its process to stack corruption. Versions before psqlODBC 18.00.0006 are affected.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL | psqlODBC | < 18.00.0006 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-120063?
How severe is CVE-2026-120063?
How do I fix CVE-2026-120063?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120057psqlODBC copies the reply to a large-object read (loread) in…7.5
- CVE-2026-120058psqlODBC sizes its row cache from the column count of a curs…7.5
- CVE-2026-120059For an updatable cursor over a table without OIDs that has a…6.8
- CVE-2026-120060psqlODBC trusts counts and lengths in server data in three p…5.9
- CVE-2026-120061The psqlODBC parser for ODBC escape sequences in application…7.5
- CVE-2026-120062SQLSpecialColumns in psqlODBC splices the table and schema n…7.5
- CVE-2026-120064Several psqlODBC entry points use an application-supplied co…7.5
- CVE-2026-120065For an updatable cursor over a table without OIDs that has a…7.1
- CVE-2026-120066On Unix-like systems, when logging is enabled, psqlODBC crea…5.3
- CVE-2026-120067For updatable cursors, which are enabled by default, psqlODB…5.9
- CVE-2026-12007Use after free in Core in Google Chrome on Windows prior to …8.8
- CVE-2026-120070The User Frontend – Membership, User Registration, User Prof…8.8
Are you affected by CVE-2026-120063?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
