{
  "modified": "2025-08-09T19:01:28Z",
  "published": "2006-05-24T10:06:00Z",
  "id": "CVE-2006-2314",
  "details": "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.",
  "references": [
    {
      "type": "ADVISORY",
      "url": "ftp://patches.sgi.com/support/free/security/advisories/20060602-01-U.asc"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20231"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20232"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20314"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20435"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20451"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20503"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20555"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20653"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/20782"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/21001"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/21749"
    },
    {
      "type": "ADVISORY",
      "url": "http://security.gentoo.org/glsa/glsa-200607-04.xml"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.debian.org/security/2006/dsa-1087"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:098"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.novell.com/linux/security/advisories/2006_21_sr.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.ubuntu.com/usn/usn-288-2"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.ubuntu.com/usn/usn-288-3"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.vupen.com/english/advisories/2006/1941"
    },
    {
      "type": "FIX",
      "url": "http://archives.postgresql.org/pgsql-announce/2006-05/msg00010.php"
    },
    {
      "type": "WEB",
      "url": "http://lists.suse.com/archive/suse-security-announce/2006-Jun/0002.html"
    },
    {
      "type": "WEB",
      "url": "http://securitytracker.com/id?1016142"
    },
    {
      "type": "WEB",
      "url": "http://support.avaya.com/elmodocs2/security/ASA-2006-113.htm"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/25731"
    },
    {
      "type": "WEB",
      "url": "http://www.postgresql.org/docs/techdocs.50"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2006-0526.html"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/435038/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/435161/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/18092"
    },
    {
      "type": "WEB",
      "url": "http://www.trustix.org/errata/2006/0032/"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/26627"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/26628"
    },
    {
      "type": "WEB",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9947"
    },
    {
      "type": "WEB",
      "url": "https://usn.ubuntu.com/288-1/"
    }
  ]
}
