Skip to content
OpenAdvisories
High ALAS2-2026-4103 3 CVEs

Important: postgresql-odbc security update (Amazon Linux 2)

Published Nov 12, 2026 · Updated Nov 12, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-120065: For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC uses that column to identify rows. It places the column's name, as reported by the server, between double quotes in its keyset queries and in the WHERE clause of its positioned SELECT, UPDATE, and DELETE statements, without doubling any double quote in the name. A column name that contains a double quote therefore changes the SQL that the driver runs with the application's privileges, including which rows a positioned UPDATE or DELETE affects. Any database user who can create a table that the application reads with an updatable cursor can choose such a name, and so can a server not trusted under current SSL settings. Versions before psqlODBC 18.00.0006 are affected. CVE-2026-120059: 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. CVE-2026-120057: psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more bytes than the buffer holds and overwrite adjacent memory in the client process with server-chosen bytes. Fetching any large-object column is sufficient to trigger it. Versions before psqlODBC 18.00.0006 are affected.

Fixed packages 2

ReleasePackageFixed in
Amazon Linux · 2 postgresql-odbc 0:09.03.0100-2.amzn2.0.3
Amazon Linux · 2 postgresql-odbc-debuginfo 0:09.03.0100-2.amzn2.0.3

Vulnerabilities 3

  • High 7.5

    psqlODBC large-object read overflows the application buffer

    psqlODBC copies the reply to a large-object read (loread) into the application's buffer using the length sent by the server, without comparing it to the buffer size. A server not trusted under current SSL settings, or a man-in-the-middle, can return more byte…

  • High 7.1

    psqlODBC does not escape a server-supplied column name in its updatable-cursor queries

    For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC uses that column to identify rows. It places the column's name, as reported by the server, between double quotes in its keyset queries and in the WHERE clause o…

  • Medium 6.8

    psqlODBC uses a server-supplied column name as a format string

    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 WHER…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120057.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120059.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-120065.html