PT-2026-159562

CVE-2026-136500

·

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 An issue exists in how the driver handles multibyte character encoding when escaping bound parameters or names passed to catalog functions. The driver incorrectly treats certain client encoding aliases, such as WIN950, Windows950, or big-5 for BIG5, as single-byte. Additionally, it accepts an overly narrow range of lead bytes for JOHAB, EUC TW, EUC CN, and EUC KR. This leads to a situation where quote bytes are not properly doubled or are misinterpreted as part of a character, causing literals to end prematurely. An attacker controlling a bound character parameter or a name passed to a catalog function, such as SQLTables(), can execute SQL commands with the privileges of the application database role. This occurs when using the ANSI driver or ANSI entry points with the affected encodings, and when the driver performs parameter substitution, such as when UseServerSidePrepare is set to 0 or a cursor type other than forward-only is used.
Recommendations Update psqlODBC to a version newer than 18.00.0006. As a temporary mitigation, avoid using the UseServerSidePrepare=0 configuration or non-forward-only cursor types when using the affected client encodings.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-2RJM-67GC-54R4
Found an issue in the description? Have something to add? Feel free to write us 👾