Memory leak in mysql exploitable by anyone that can read two tables with sufficient rows.

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content