CVE-2009-2942
The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string...
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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2009-2942- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-2942- Updated
- 2026-11-02
EUVDEUVD-2009-2929 No score
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.
- Record
EUVD-2009-2929- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-57vp-79gr-9j72 No score
The mysql-ocaml bindings 1.0.4 for MySQL do not properly support the mysql_real_escape_string...
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.
- Record
GHSA-57vp-79gr-9j72- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2009-2942- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-2942 No score
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.
- Record
DEBIAN-CVE-2009-2942- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mysql-ocamlDebian:12 |
before 1.0.4-7 | 1.0.4-7 |
mysql-ocamlDebian:13 |
before 1.0.4-7 | 1.0.4-7 |
mysql-ocamlDebian:14 |
before 1.0.4-7 | 1.0.4-7 |
mysql-ocamlDebian:4.0 |
before 1.0.4-2+etch1, plus listed versions 1.0.4-21.0.4-2+b1 |
1.0.4-2+etch1 |
mysql-ocamlDebian:5.0 |
before 1.0.4-4+lenny1, plus listed versions 1.0.4-4 |
1.0.4-4+lenny1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-2942 is a high vulnerability (CVSS 7.5) in Mysql-ocaml, published October 14, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.34%, the 83rd percentile. Fixed in mysql-ocaml 1.0.4-7.