PT-2026-159574

CVE-2026-136512

·

Published

2026-11-25

·

Updated

2026-11-25

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions psqlODBC versions prior to 18.00.0007
Description When using SQL C DEFAULT, the driver determines the C type of a bound column or parameter based on its SQL type. A buffer overflow occurs when the server reports a different type at fetch time, the table is altered, or an output parameter's result column has a different type, causing the driver to write a larger type into a smaller buffer. This includes writing 12 bytes past a 4-byte buffer for a uuid and larger overflows during multi-row fetches.
Additional issues include:
  • Writing 8 bytes for an int8 column when Int8As is set to a smaller type.
  • Returning unterminated binary data instead of text for an int2vector column.
  • A stack buffer overflow in the driver when an application discards an output parameter by binding a NULL buffer.
  • Writing a NUL byte past the buffer when using the SQLGetData() function with BufferLength set to 0 on a column read as a large object.
  • Heap corruption caused by freeing an unallocated pointer during keyset index arithmetic when using the SQLBulkOperations(SQL ADD) function on a static updatable cursor before the first fetch, followed by modifying, rolling back, and fetching that row.
These issues can be triggered by a compromised server, a malicious actor on the network path for connections not using sslmode=verify-full, or the owner of a table being read by the application.
Recommendations Update psqlODBC to a version newer than 18.00.0006.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-C66P-8P63-P7MR
Found an issue in the description? Have something to add? Feel free to write us 👾