{"id":"PYSEC-2009-18","details":"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.","aliases":["CVE-2009-2940","GHSA-xv6x-43gq-4hfj"],"modified":"2026-06-10T17:01:44.540836585Z","published":"2009-10-22T16:30:00.250Z","references":[{"type":"WEB","url":"http://ubuntu.com/usn/usn-870-1"},{"type":"WEB","url":"http://www.osvdb.org/59028"},{"type":"ADVISORY","url":"http://secunia.com/advisories/37046"},{"type":"ADVISORY","url":"http://secunia.com/advisories/37654"},{"type":"ADVISORY","url":"http://www.debian.org/security/2009/dsa-1911"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-xv6x-43gq-4hfj"}],"affected":[{"package":{"name":"pygresql","ecosystem":"PyPI","purl":"pkg:pypi/pygresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.1"},{"last_affected":"4.0"}]}],"versions":["3.8.1","4.0"],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/pygresql/PYSEC-2009-18.yaml"}}],"schema_version":"1.7.5"}