
CVE catalog
CVE-2009-2940
pygresql: CVE-2009-2940
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.70% · Oct 25, 2026
The pygresql module 3.8.1 and 4.0 for Python does not properly support the PQescapeStringConn function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings.
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 | 1:4.0-1 | low | Not reported | Not reported |
| Debian | pygresql | source | forky | 1:4.0-1 | low | Not reported | Not reported |
| Debian | pygresql | source | trixie | 1:4.0-1 | low | Not reported | Not reported |
| Debian | pygresql | source | bookworm | 1:4.0-1 | low | 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:
1:4.0-1dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12
1:5.1.2-2+b2· arm64 · bookwormFixed · Fixed:
1:4.0-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:
1:4.0-1dsa · pygresql · debian · bookworm; dsa · pygresql · debian · 12
1:5.1.2-2· all · bookwormFixed · Fixed:
1:4.0-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:
1:4.0-1dsa · pygresql · debian · 13
1:6.1.0-2+b1· arm64 · trixieFixed · Fixed:
1:4.0-1dsa · pygresql · debian · 13
- [python-pygresql-doc]Fixed
Source package: [pygresql]
Details (2)
1:6.1.0-2· all · trixieFixed · Fixed:
1:4.0-1dsa · pygresql · debian · 13
1:6.1.0-2· all · trixieFixed · Fixed:
1:4.0-1dsa · pygresql · debian · 13
Observed: