All vulnerabilities

Servers and applications

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 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…

Severity
High 7.5
Published
24 May 2006
Last changed
16 Jun 2026
Added to UpHeron
16 Oct 2026
Exploit chance
2.9% in the next 30 daysHigher than 86% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • Version 8.1.3
  • Version 8.1.2
  • Version 8.1.1
  • Version 8.1
All 40 release lines
  • Version 7.3
  • Version 7.3.1
  • Version 7.3.2
  • Version 7.3.3
  • Version 7.3.4
  • Version 7.3.5
  • Version 7.3.6
  • Version 7.3.7
  • Version 7.3.8
  • Version 7.3.9
  • Version 7.3.10
  • Version 7.3.11
  • Version 7.3.12
  • Version 7.3.13
  • Version 7.3.14
  • Version 7.4
  • Version 7.4.1
  • Version 7.4.2
  • Version 7.4.3
  • Version 7.4.4
  • Version 7.4.5
  • Version 7.4.6
  • Version 7.4.7
  • Version 7.4.8
  • Version 7.4.9
  • Version 7.4.10
  • Version 7.4.11
  • Version 7.4.12
  • Version 8.0
  • Version 8.0.1
  • Version 8.0.2
  • Version 8.0.3
  • Version 8.0.4
  • Version 8.0.5
  • Version 8.0.6
  • Version 8.0.7
  • Version 8.1
  • Version 8.1.1
  • Version 8.1.2
  • Version 8.1.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2006-2314
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2006-2314