Description
The convert_search_mode_to_innobase function in ha_innodb.cc in the InnoDB engine in MySQL 5.1.23-BK and earlier allows remote authenticated users to cause a denial of service (database crash) via a certain CONTAINS operation on an indexed column, which triggers an assertion error.
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 5.0 | mysql-dfsg-5.0 | 5.0.45-1+lenny1 | DTSA-91-1 |
| Debian 4.0 | mysql-dfsg-5.0 | 5.0.32-7etch3 | DSA-1413-1 |
| Debian 3.1 | mysql-dfsg | 4.0.24-10sarge3 | DSA-1413-1 |
| Debian 3.1 | mysql-dfsg-4.1 | 4.1.11a-4sarge8 | DSA-1413-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | mysql +4 | 5.0.22-2.2.el5_1.1 | RHSA-2007:1155 |
| RHEL 4 | mysql +3 | 4.1.20-3.RHEL4.1.el4_6.1 | RHSA-2007:1155 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 1 | mysql +6 | 5.0.44-2.el4s1.1 | RHSA-2007:1157 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- MySQL 5.1.23 - Server InnoDB CONVERT_SEARCH_MODE_TO_INNOBASE Function Denial of Service EDB-30744 · dos · Nov 5, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- RHSA-2007:1155 Red Hat Security Advisory: mysql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1413-1 mysql - multiple Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-91-1 mysql-dfsg-5.0 - remote denial of service Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2007:1157 Red Hat Security Advisory: mysql security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- 27823 third-party-advisory
- USN-1397-1 vendor-advisory
- GLSA-200711-25 vendor-advisory
- oval:org.mitre.oval:def:11390 vdb-entry signature
- ADV-2007-3903 vdb-entry
- 27649 third-party-advisory
- 1018978 vdb-entry
- USN-559-1 vendor-advisory
- SSA:2007-348-01 vendor-advisory
- DSA-1413 vendor-advisory
- FEDORA-2007-4465 vendor-advisory
- 28040 third-party-advisory
- RHSA-2007:1157 vendor-advisory
- 28099 third-party-advisory
- 20071106 MySQL 5.x DoS (unknown) mailing-list
- FEDORA-2007-4471 vendor-advisory
- 26353 vdb-entry
- RHSA-2007:1155 vendor-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=198988
- 28108 third-party-advisory
- 28025 third-party-advisory
- 28838 third-party-advisory
- 28128 third-party-advisory
- MDKSA-2007:243 vendor-advisory
- SUSE-SR:2008:003 vendor-advisory
- http://bugs.mysql.com/bug.php?id=32125
- 27568 third-party-advisory
- mysql-hainnodb-dos(38284) vdb-entry