UBUNTU-CVE-2026-120061: High severity ubuntu/psqlodbc vulnerability

Published Nov 3, 2026
·
Updated

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.

Affected Software

7 affected components
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*
ubuntu/psqlodbc*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade psqlODBC to a version that resolves this vulnerability.

    Fixed in 18.00.0006

Event History

Nov 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications using psqlODBC that forward untrusted SQL text to the driver are exposed. The vulnerability affects the application's process, where malicious ODBC escape sequences can trigger memory corruption.

2

What does an attacker need to exploit it?

An attacker needs the ability to cause the application to send crafted SQL text containing ODBC escape sequences to psqlODBC. The reported vector is network-based, requires low privileges, and does not require user interaction, but exploitation has high complexity.

3

Are affected versions identified?

Versions of psqlODBC before 18.00.0006 are affected. Systems using version 18.00.0006 or later are not identified as affected by the provided advisory details.

4

What is the practical impact of successful exploitation?

Crafted {fn} escapes can overflow a stack array and cause arbitrary bytes to be copied into the query, while certain other escape bodies can write past a stack buffer. The reported impact includes high confidentiality, integrity, and availability effects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203