MySQL 5.0.12 was compiled with . The client library ( libmysqlclient ) trusted user input and network data deeply.

In MySQL replication, slaves connect to the master. If an attacker compromises a master server or creates a fake slave, they can target backup systems or monitoring tools that automatically connect.

: Versions earlier than 5.0.25 allow authenticated users to gain higher privileges through stored routines. Remote Root Code Execution

if (*from_offset == '\\') to[to_offset++] = '\\'; to[to_offset++] = '\\'; else if (*from_offset == '\'') to[to_offset++] = '\\'; to[to_offset++] = '\''; else to[to_offset++] = *from_offset;