Summary
Since PHP
5.2.0 there is a new memory manager that allows exploiting of even one
byte underflow vulnerabilities like the one described by this advisory.
When an all whitespace string is passed to the header() function this
can result in a buffer underflow that allows code execution on atleast
big endian systems like MacOS X on PPC.
Affected versions
Affected is PHP 5.2.0
Detailed information
PHP
5.2.0 comes with a brand new memory manager that is no longer a simple
wrapper around malloc()/free() but implements a own heap implementation
for the request memory pool. The new heap manager stores control
information inbound and is therefore vulnerable to overflow attacks.
Additionally it is unlike the previous memory manager vulnerable
against one byte underflows...