ADVISORIES

Vulnerability

CVE-2009-2940

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.

5 advisories report this vulnerability, across 3 ecosystems.

Advisories in PyPI

  • GHSA-xv6x-43gq-4hfj

    PyGreSQL Might Be Vulnerable to Encoding-Based SQL Injection

    High CVE-2009-2940 PyPI Updated 8 June 2026
  • PYSEC-2009-18

    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.

    CVE-2009-2940 PyPI Updated 10 June 2026

References