The PHP development team just released the latest update to the 5.2 branch, fixing 40 bugs including several security vulnerabilities.

Get the details here: http://www.developer.com/daily_news/article.php/393040/PHP-5213-Plugs-Security-Holes.htm