{"id":"CVE-2026-109448","published":"2026-10-12T17:42:59Z","modified":"2026-10-16T17:48:46Z","title":"psqlODBC SQLBindParameter heap memory corruption when binding more than 32767 parameters","vendor":"PostgreSQL","product":"psqlODBC","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00222,"percentile":0.1312,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-124","name":"Buffer Underwrite"}],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-cmfx-rm3r-p2jr","tags":["vendor-advisory"]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":2.62},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"postgresql","affectedVersions":[{"vendor":"PostgreSQL","product":"psqlODBC","versions":[">= 08.01.0102, < 18.00.0005"]}],"solutions":{"items":["Upgrade to psqlODBC 18.00.0005 or later. SQLBindParameter now rejects parameter numbers outside 1..32767 with SQLSTATE 07009 (invalid descriptor index)."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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(?)."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T17:48:24.116624Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-97731","exploited":false,"provenance":"source"}}