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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mysql-ocaml | 1.0.4-7 | — |
| Debian 13 | mysql-ocaml | 1.0.4-7 | — |
| Debian 12 | mysql-ocaml | 1.0.4-7 | — |
| Debian 5.0 | mysql-ocaml | 1.0.4-4+lenny1 | DSA-1910-1 |
| Debian 4.0 | mysql-ocaml | 1.0.4-2+etch1 | DSA-1910-1 |
Advisories 1
- DSA-1910-1 mysql-ocaml - missing escape function Debian Security (DSA / DLA) · Mar 9, 2026
References
- 59030 vdb-entry
- 37047 third-party-advisory
- DSA-1910 vendor-advisory
- MDVSA-2009:279 vendor-advisory