cve.bz

CVE-2026-136500 SQL injection with BIG5 aliases and the JOHAB, EUC_TW, EUC_CN and EUC_KR client encodings

8.1 highEPSS 0.5%

High (8.1) in postgresql psqlodbc. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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. An 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. Versions up to and including psqlODBC 18.00.0006 are affected.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
CWE-173 Improper Handling of Alternate Encoding
OWASP Top 10
A05:2025 Injection
Published
Assigned by
PostgreSQL (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-136500 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-136500?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-136500?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-136500 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
PostgreSQL psqlODBCthrough 18.00.0006

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14psqlodbcno fix listedDEBIAN-CVE-2026-136500
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morepsqlodbcno fix listedUBUNTU-CVE-2026-136500
openSUSETumbleweedpsqlODBC18.00.0007-1.1openSUSE-SU-2026:12716-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-173 (12).

References

Check your stackJSON