When GNU Mailutils is built with the "mysql" or "postgres" USE flag, the sql_escape_string function of the authentication module fails to properly escape the "" character, rendering it vulnerable to a SQL command injection.

Impact

A malicious remote user could exploit this vulnerability to inject SQL commands to the underlying database.

Workaround

There is no known workaround at this time.

Resolution

All GNU Mailutils users should upgrade to the latest available version: