The setlocale function in PHP before 5.2.4 allows context-dependent attackers to cause a denial of service (application crash) via a long string in the locale parameter. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless this issue can be demonstrated for code execution.
https://exchange.xforce.ibmcloud.com/vulnerabilities/36458
http://www.securityfocus.com/archive/1/478627/100/0/threaded
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
http://securityreason.com/securityalert/3114
http://secunia.com/advisories/28658
http://secunia.com/advisories/27102
http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html