CVEfocus › CVE database › CVE-2026-109448

CVE-2026-109448psqlODBC SQLBindParameter heap memory corruption when binding more than 32767 parameters

CVSS 5.9 MediumEPSS 0.2% (higher than 13% of CVEs)Published 2026-10-12Updated 2026-10-16Assigner: PostgreSQL

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.

CWE-124CWE-190

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
11Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10psqlodbcFix pendingUBUNTU-CVE-2026-109448
Ubuntu 26.04psqlodbcUnder investigationUBUNTU-CVE-2026-109448
Ubuntu 24.04psqlodbcUnder investigationUBUNTU-CVE-2026-109448
Ubuntu 22.04psqlodbcUnder investigationUBUNTU-CVE-2026-109448
Ubuntu 20.04psqlodbcFix pendingUBUNTU-CVE-2026-109448
Ubuntu 18.04psqlodbcFix pendingUBUNTU-CVE-2026-109448
Ubuntu 16.04psqlodbcFix pendingUBUNTU-CVE-2026-109448
Debian 14psqlodbcFixed1:18.00.0005-1DEBIAN-CVE-2026-109448
Debian 13psqlodbcFix pendingDEBIAN-CVE-2026-109448
Debian 12psqlodbcFix pendingDEBIAN-CVE-2026-109448
Red Hat Enterprise Linux 10postgresql-odbcFix pending
Fix deferred
Red Hat Enterprise Linux 9postgresql-odbcFix pending
Fix deferred
Red Hat Enterprise Linux 8postgresql-odbcFix pending
Fix deferred
Red Hat Enterprise Linux 8postgresql-odbc-testsFix pending
Fix deferred
Red Hat Enterprise Linux 7postgresql-odbcFix pending
Fix deferred
Red Hat Enterprise Linux 6postgresql-odbcWill not fix
Out of support scope

What the vendor says

As published in the CVE record by PostgreSQL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to psqlODBC 18.00.0005 or later. SQLBindParameter now rejects parameter numbers outside 1..32767 with SQLSTATE 07009 (invalid descriptor index).

Workaround: Do not bind more than 32767 parameters on a single statement. Limit the number of parameters an application builds from external input, or pass large value lists as a single array parameter, for example = ANY(?).

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.