All vulnerabilities

Servers and applications

CVE-2007-4784

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.

Severity
Medium 5.0
Published
10 Sept 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
2.5% in the next 30 daysHigher than 85% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · No login needed
Attacker can
Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version up to 5.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4784
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4784