CVE-2007-4784: PHP

Medium severity, CVSS 5.0. EPSS: 2.5% chance of exploitation in the next 30 days.

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.

Affected products

  • PHP PHP: up to and including 5.2.3

Published 2007-09-10. Last modified 2026-06-16.