CVE-2009-2942 json
The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string function, which might allow remote attackers…
published 2009-10-22 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-2929
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- mysql-ocaml Debian 14, Debian 13, Debian 12 1.0.4-7
debian advisories DEBIAN-CVE-2009-2942
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-2942 updated cvss 5.0
ocaml-mysql: Missing escape function (DSA-1910-1)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.34% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
References
-
debian.org
/security/2009/dsa-1910
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2009:279
vendor-advisory
-
secunia.com
/advisories/37047
third-party-advisory, vendor-advisory
-
osvdb.org
/59030
vdb-entry
Sources
- CVE List CVE-2009-2942
- NVD CVE-2009-2942
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.