CVE catalog

CVE-2006-2314

pygresql: CVE-2006-2314

[CVE catalog]

Severity
High
Published
Source
[NVD] · [CVE record]
EPSS
2.79% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpygresqlsid1:6.2.3-2fixed
Debianpygresqlforky1:6.2.3-2fixed
Debianpygresqltrixie1:6.1.0-2fixed
Debianpygresqlbookworm1:5.1.2-2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpygresqlsourcesid3.8-1.1mediumNot reportedNot reported
Debianpygresqlsourceforky3.8-1.1mediumNot reportedNot reported
Debianpygresqlsourcetrixie3.8-1.1mediumNot reportedNot reported
Debianpygresqlsourcebookworm3.8-1.1mediumNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pygresql]

    Details (2)
    • 1:5.1.2-2+b2 · amd64 · bookworm

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12

    • 1:5.1.2-2+b2 · arm64 · bookworm

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12

  • Source package: [pygresql]

    Details (2)
    • 1:5.1.2-2 · all · bookworm

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12

    • 1:5.1.2-2 · all · bookworm

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pygresql]

    Details (2)
    • 1:6.1.0-2+b1 · amd64 · trixie

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · 13

    • 1:6.1.0-2+b1 · arm64 · trixie

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · 13

  • Source package: [pygresql]

    Details (2)
    • 1:6.1.0-2 · all · trixie

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · 13

    • 1:6.1.0-2 · all · trixie

      Fixed · Fixed: 3.8-1.1

      dsa · pygresql · debian · 13

Observed:

References