Memory leak in mysql exploitable by anyone that can read two tables with sufficient rows.
Issue
-
Dependent subqueries like :
SELECT COUNT(*) FROM t1, t2 WHERE t2.b IN (SELECT DISTINCT t2.b FROM t2 WHERE t2.b = t1.a)
caused a memory leak proportional to the number of outer rows.
Environment
-
Red Hat Enterprise Linux 5.5
-
mysql-server-5.0.77-4.el5_5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.