PHP 'ext/imap/php_imap.c' Use After Free Denial of Service Vulnerability

Summary
This host is running PHP and is prone to denial of service vulnerability.
Impact
Successful exploitation could allow local attackers to crash the affected application, denying service to legitimate users. Impact Level: Application/Network
Solution
upgrade to PHP 5.2.15 or 5.3.4 For updates refer to http://www.php.net/downloads.php
Insight
The flaw is due to an erron in 'imap_do_open' function in the IMAP extension 'ext/imap/php_imap.c'.
Affected
PHP version 5.2 before 5.2.15 and 5.3 before 5.3.4
References