HOMEVULNERABILITIESCVE-2009-2942
HIGH

CVE-2009-2942

NVD-CWE-noinfoPublished: October 22, 2009· Updated: Jun 16, 2026

7.5
CVSS v3.1

Official Description

The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings.

NVD Source

Technical Analysis

CVE-2009-2942 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

mysql1 product(s)
mysql
mysql-ocaml1 product(s)
mysql-ocaml
Source: NVD CPE · 2 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (8)

Quick Facts

CVE IDCVE-2009-2942
CVSS Score7.5 / 10
SeverityHIGH
CISA KEVNo
Affected2 vendor(s)
PublishedOct 22, 2009

Related CVEs (NVD-CWE-noinfo)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2009-2942 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.