CVE catalog

CVE-2009-2940

pygresql: CVE-2009-2940

[CVE catalog]

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.

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
Debianpygresqlsourcesid1:4.0-1lowNot reportedNot reported
Debianpygresqlsourceforky1:4.0-1lowNot reportedNot reported
Debianpygresqlsourcetrixie1:4.0-1lowNot reportedNot reported
Debianpygresqlsourcebookworm1:4.0-1lowNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pygresql]

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

      Fixed · Fixed: 1:4.0-1

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

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

      Fixed · Fixed: 1:4.0-1

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

  • Source package: [pygresql]

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

      Fixed · Fixed: 1:4.0-1

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

    • 1:5.1.2-2 · all · bookworm

      Fixed · Fixed: 1:4.0-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: 1:4.0-1

      dsa · pygresql · debian · 13

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

      Fixed · Fixed: 1:4.0-1

      dsa · pygresql · debian · 13

  • Source package: [pygresql]

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

      Fixed · Fixed: 1:4.0-1

      dsa · pygresql · debian · 13

    • 1:6.1.0-2 · all · trixie

      Fixed · Fixed: 1:4.0-1

      dsa · pygresql · debian · 13

Observed:

References