Bug 2565361 (CVE-2026-120061) - CVE-2026-120061 postgresql-odbc: postgresql-odbc: Memory corruption via malformed SQL escape sequences
Summary: CVE-2026-120061 postgresql-odbc: postgresql-odbc: Memory corruption via malfo...
Keywords:
Status: NEW
Alias: CVE-2026-120061
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-02 19:33 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:50 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-02 19:33:25 UTC
The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. Versions before psqlODBC 18.00.0006 are affected.


Note You need to log in before you can comment on or make changes to this bug.