
CVE catalog
CVE-2006-2314
pygresql: CVE-2006-2314
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pygresql | sid | 1:6.2.3-2 | fixed |
| Debian | pygresql | forky | 1:6.2.3-2 | fixed |
| Debian | pygresql | trixie | 1:6.1.0-2 | fixed |
| Debian | pygresql | bookworm | 1:5.1.2-2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pygresql | source | sid | 3.8-1.1 | medium | Not reported | Not reported |
| Debian | pygresql | source | forky | 3.8-1.1 | medium | Not reported | Not reported |
| Debian | pygresql | source | trixie | 3.8-1.1 | medium | Not reported | Not reported |
| Debian | pygresql | source | bookworm | 3.8-1.1 | medium | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pygresql]Fixed
Source package: [pygresql]
Details (2)
1:5.1.2-2+b2· amd64 · bookwormFixed · Fixed:
3.8-1.1dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12
1:5.1.2-2+b2· arm64 · bookwormFixed · Fixed:
3.8-1.1dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12
- [python-pygresql-doc]Fixed
Source package: [pygresql]
Details (2)
1:5.1.2-2· all · bookwormFixed · Fixed:
3.8-1.1dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12
1:5.1.2-2· all · bookwormFixed · Fixed:
3.8-1.1dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12
[Debian 13 (Trixie)]
- [python3-pygresql]Fixed
Source package: [pygresql]
Details (2)
1:6.1.0-2+b1· amd64 · trixieFixed · Fixed:
3.8-1.1dsa · pygresql · debian · 13
1:6.1.0-2+b1· arm64 · trixieFixed · Fixed:
3.8-1.1dsa · pygresql · debian · 13
- [python-pygresql-doc]Fixed
Source package: [pygresql]
Details (2)
1:6.1.0-2· all · trixieFixed · Fixed:
3.8-1.1dsa · pygresql · debian · 13
1:6.1.0-2· all · trixieFixed · Fixed:
3.8-1.1dsa · pygresql · debian · 13
Observed:
References
- [https://access.redhat.com/errata/RHSA-2006:0526]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2006-2314]
- [https://osv.dev/vulnerability/DSA-1087-1]
- [https://security-tracker.debian.org/tracker/CVE-2006-2314]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]