{"id":"CVE-2026-136500","aliases":["GHSA-2rjm-67gc-54r4"],"title":"SQL injection with BIG5 aliases and the JOHAB, EUC_TW, EUC_CN and EUC_KR client encodings","originalDescription":"To escape a bound parameter, or a name passed to a catalog function, psqlODBC has to know where each multibyte character of the client encoding ends. It treated a client encoding named by an alias the server accepts, such as WIN950, Windows950 or big-5 for BIG5, as single-byte, and it accepted too narrow a range of lead bytes for JOHAB, EUC_TW, EUC_CN and EUC_KR. A quote byte that the server reads as part of such a character was then not doubled, or a quote the server reads on its own was taken for part of a character, and the literal ended early.\n\nAn end user who controls one bound character parameter, or a name the application passes to a catalog function such as SQLTables(), can run SQL with the rights of the application's database role. This requires a connection that is not in UTF-8: the ANSI driver, or the ANSI entry points, with one of these client encodings. For bound parameters the driver must also be substituting parameters itself, as it does with UseServerSidePrepare=0 or a cursor type other than forward-only.\n\nVersions up to and including psqlODBC 18.00.0006 are affected.","severity":{"cvss":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00501,"percentile":0.35934},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/postgresql-interfaces/psqlodbc/security/advisories/GHSA-2rjm-67gc-54r4","type":"vendor-advisory"},{"url":"https://odbc.postgresql.org/changelog/","type":"release-notes"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136500.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136500","type":"advisory"},{"url":"https://odbc.postgresql.org/","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-25T23:44:28.033Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136500","license":"NVD terms of use","firstSeenAt":"2026-11-25T23:44:28.033Z"},{"name":"osv","at":"2026-11-28T12:15:52.444Z","url":"https://osv.dev/vulnerability/CVE-2026-136500","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T00:17:52.520Z"},{"name":"cvelistV5","at":"2026-11-28T22:07:48.817Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-136500","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T22:36:00.148Z"}],"firstSeenAt":"2026-11-25T22:36:00.148Z","publishedAt":"2026-11-25T22:25:44.748Z","modifiedAt":"2026-11-28T10:27:20.652Z"}