UBUNTU-CVE-2026-120059: Medium severity ubuntu/psqlodbc vulnerability

Published Nov 3, 2026
·
Updated

For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the server, into a printf-style format string. It later expands that string with one argument while it builds the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements. A column name that contains format directives makes the driver read unrelated memory, which can crash the application or copy client memory into query text sent to the server. The name can come from a server not trusted under current SSL settings, or from any database user who can create a table that the application reads with an updatable cursor. 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

Which applications are realistically exposed to this issue?

Applications using affected psqlODBC versions with updatable cursors against tables without OIDs that include an auto-increment int4 column are exposed. The vulnerable path is reached when the driver builds positioned SELECT, UPDATE, or DELETE statements.

2

What must an attacker be able to do?

An attacker can supply a malicious column name through a server that is not trusted under the current SSL settings, or by being a database user able to create a table that the application reads through an updatable cursor. The column name must contain printf-style format directives.

3

What is the impact if exploitation succeeds?

The driver may read unrelated client memory, which can crash the application or copy client memory into query text sent to the server. The stated impact includes high confidentiality and availability effects.

4

Are current psqlODBC releases affected?

Versions before psqlODBC 18.00.0006 are affected. Updating to 18.00.0006 or later removes the affected version range described here.

5

What can be done if an update cannot be applied immediately?

Avoid using updatable cursors on attacker-controlled or untrusted database tables, particularly tables without OIDs that have auto-increment int4 columns. Restrict who can create tables read by the application and avoid connections to servers not trusted under the current SSL settings.

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