PHP shmop shared memory module has a leak that can lead to Safe Mode bypass. PHP versions 5.0.2 and below and 4.3.9 and below are susceptible.
You can download this advisory from the following link: https://packetstormsecurity.com/files/download/35416/php-shmop.txt
Source: https://packetstormsecurity.com/files/35416/php-shmop.txt.html