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

Published Nov 3, 2026
·
Updated

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 FORTIFYSOURCE abort; other builds overwrite adjacent stack memory. 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 deployments are exposed to this issue?

Deployments using psqlODBC versions before 18.00.0006 are affected when applications use updatable cursors, which are enabled by default. Exposure exists if the application connects to a server that is not trusted under its current SSL settings, or if an untrusted database user can create a view with a column named ctid that the application reads through an updatable cursor.

2

Does exploitation require an authenticated attacker?

Not necessarily. A network-reachable server that is not trusted under the current SSL configuration can provide the oversized value without database-user privileges; alternatively, exploitation can be performed by a database user able to create a crafted view.

3

What is the impact on systems built with stack protections?

Builds using _FORTIFY_SOURCE abort when the oversized value is copied, resulting in a denial of service. Builds without _FORTIFY_SOURCE can overwrite adjacent stack memory.

4

What can be done while patching is pending?

Avoid using updatable cursors where possible, and do not connect through SSL configurations that permit untrusted servers. Restrict database users from creating views that could be read by affected applications.

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