CVE-2026-109448

psqlODBC SQLBindParameter heap memory corruption when binding more than 32767 parameters

State
Published
Severity
5.9 Medium
Published
Oct 12, 2026
Updated
Oct 16, 2026
Reserved
Oct 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HPostgreSQL

Weaknesses

  • CWE-190 Integer Overflow or Wraparound
  • CWE-124 Buffer Underwrite ('Buffer Underflow')

Affected Products

ProductVersions
psqlODBCPostgreSQL
  • 08.01.0102 to before 18.00.0005Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.