PostgreSQL 8.1.x before 8.1.4, 8.0.x before 8.0.8, 7.4.x before 7.4.13, 7.3.x before 7.3.15, and earlier versions allows context-dependent attackers to bypass SQL injection protection methods in applications that use multibyte encodings that allow the "\" (backslash) byte 0x5c to be the trailing byte of a multibyte character, such as SJIS, BIG5, GBK, GB18030, and UHC, which cannot be handled correctly by a client that does not understand multibyte encodings, aka a second variant of "Encoding-Based SQL Injection." NOTE: it could be argued that this is a class of issue related to interaction errors between the client and PostgreSQL, but a CVE has been assigned since PostgreSQL is treating this as a preventative measure against this class of problem.
CVSS Details
- CVSS 3.1 Base Score: 9.8
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade pygresql | Jul 30, 2024 | May 24, 2006 |
| Freebsd | — | Upgrade postgresql-serverUpgrade ja-postgresqlUpgrade postgresql | Dec 10, 2025 | Aug 13, 2006 |
| Gentoo Linux | — | Upgrade dev-db/postgresql. | Oct 30, 2017 | May 24, 2006 |
| Suse | — | Upgrade postgresql-plUpgrade postgresql-docsUpgrade postgresqlUpgrade postgresql-libs-64bitUpgrade postgresql-serverUpgrade postgresql-libsUpgrade postgresql-contribUpgrade postgresql-libs-x86Upgrade postgresql-develUpgrade postgresql-libs-32bit | Feb 17, 2015 | May 24, 2006 |
| Ubuntu | — | Upgrade libpq-devUpgrade postgresql-client-8.1Upgrade exim4-daemon-heavyUpgrade postgresql-contrib-8.1Upgrade dovecot-commonUpgrade libpq4Upgrade postgresql-8.1Upgrade postfix-pgsql | Nov 8, 2024 | May 24, 2006 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub