Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-109448 EUVD-2026-97731

psqlODBC SQLBindParameter heap memory corruption when binding more than 32767 parameters

Published Oct 12, 2026 · Updated Oct 16, 2026 · Assigned by PostgreSQL

Description

Integer wraparound in psqlODBC SQLBindParameter allows an application, or an attacker who controls how many parameters the application binds on one statement, to corrupt heap memory. psqlODBC stores the binding count in a signed 16-bit field. Binding parameter number 32768 wraps that count to -32768. Binding parameter 32769 then writes about 2.5 MB of zeros starting 1.25 MB before the binding array, which crashes the application or leaves it running on a corrupted heap. Applications that build parameter lists from untrusted input, such as an IN (?, ?, ...) list, are exposed. Versions before psqlODBC 18.00.0005 are affected.

Affected products

VendorProductAffectedFixed
PostgreSQL psqlODBC 08.01.0102 – < 18.00.0005 18.00.0005

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 psqlodbc 1:18.00.0005-1 —
Debian 13 psqlodbc No fix yet —
Debian 12 psqlodbc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 psqlodbc No fix yet —
Ubuntu 26.04 LTS psqlodbc No fix yet —
Ubuntu 24.04 LTS psqlodbc No fix yet —
Ubuntu 22.04 LTS psqlodbc No fix yet —
Ubuntu 20.04 LTS psqlodbc No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS psqlodbc No fix yet —
Ubuntu 16.04 LTS psqlodbc No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 psqlODBC 18.00.0006-150600.3.5.1 SUSE-SU-2026:5191-1
SLES 15 SP6 psqlODBC 18.00.0006-150600.3.5.1 SUSE-SU-2026:5191-1
SLES 12 SP5 psqlODBC 18.00.0006-1.8.1 SUSE-SU-2026:5192-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 psqlODBC 18.00.0006-150600.3.5.1 SUSE-SU-2026:5191-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed psqlODBC 18.00.0005-1.1 openSUSE-SU-2026:12135-1
openSUSE Leap 16.0 psqlODBC 18.00.0005-bp160.1.1 openSUSE-SU-2026:22122-1

Advisories 5

References