Description of problem: Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbitrary code via a long boundary string in a type.parameters field. NOTE: as of 20070411, it appears that this issue might be subsumed by CVE-2007-0906.3.
This issue was fixed under the name CVE-2007-0906 in errata published by Red Hat; at time of writing the advisories have not been updated to reference the new CVE name. http://rhn.redhat.com/errata/CVE-2007-0906.html
*** Bug 239325 has been marked as a duplicate of this bug. ***
Advisory references have now been updated: http://rhn.redhat.com/errata/CVE-2007-1825.html