CVE-2008-5498
Array index error in the imageRotate function in PHP 5.2.8 and earlier allows context-dependent attackers to read the contents of arbitrary memory locations via a crafted value of the third argument (aka the bgd_color or clrBack argument) for an indexed image.
Date published : 2008-12-26
http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html