Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2009-2940

25
FAUCET Score

CVE-2009-2940 describes a vulnerability in the pygresql module (versions 3.8.1 and 4.0) for Python, where improper handling of the PQescapeStringConn function can lead to escaping issues with multibyte character encodings. This flaw carries a CVSS score of 7.5 (High), indicating a network-based attack with low complexity that could result in partial compromise of confidentiality, integrity, and availability. There is no evidence of active exploitation, publicly available exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
3.8.1CPE matchmatch criteria
cpe:2.3:a:pygresql:pygresql:3.8.1:*:*:*:*:*:*:*
4.0CPE matchmatch criteria
cpe:2.3:a:pygresql:pygresql:4.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.5HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
2.70%
Probability of exploitation in next 30 days
EPSS Percentile
84.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0270 is in the 72nd percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

pippatch availablevia ghsa
Product: PyGreSQLFixed in: 4.1
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: PyGreSQL

Vendor Advisories (2)

pipGHSA-xv6x-43gq-4hfjhigh

PyGreSQL Might Be Vulnerable to Encoding-Based SQL Injection

May 2, 2022
redhatCVE-2009-2940Moderate

PyGreSQL: Missing a function to call PQescapeStringConn()

Oct 14, 2009

References

secunia.com / advisories/37046
Vendor Advisory
secunia.com / advisories/37654
ubuntu.com / usn/usn-870-1
debian.org / security/2009/dsa-1911
osvdb.org / 59028