PT-2026-159569

CVE-2026-136507

·

Published

2026-11-25

·

Updated

2026-11-25

Description by

CVSS 3.1
8.1
High
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions psqlODBC versions prior to 18.00.0007
Description Issues exist in how connection strings are parsed and constructed, allowing values to terminate prematurely. Specifically, in braced values like PWD={…}, a trailing byte 0x7d of GBK, Big5, or SJIS characters is incorrectly interpreted as a closing brace. Additionally, braced values ending immediately after an escaped }} are not flagged as unterminated, causing subsequent contents to be parsed as keywords. The functions SQLConnectW(), SQLDriverConnectW(), and SQLBrowseConnectW() truncate connection strings exceeding 32767 bytes in UTF-8 form, altering the parsing of the remaining string. On Windows using MSDTC, usernames and passwords are inserted into the XA open string without escaping, which can lead to a stack buffer overflow in the XA library's 64-byte buffer. Furthermore, percent-encoding a long password can result in a one-byte write past a 4096-byte stack buffer. These flaws allow a user providing a password or other connection values to inject additional connection keywords, potentially redirecting the application to an arbitrary server.
Recommendations Update to a version newer than 18.00.0006.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-7638-F7XP-WV22
Found an issue in the description? Have something to add? Feel free to write us 👾