All vulnerabilities

Servers and applications

CVE-2007-4782

PHP before 5.2.3 allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the pattern parameter to the glob function; or (2) a long string in the string parameter to the fnmatch function, accompanied by a pattern parameter value with undefined characteristics, as demonstrated by a "*[1]e" value. NOTE: this might not be a vulnerability in most…

Severity
Medium 5.0
Published
10 Sept 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
4.7% in the next 30 daysHigher than 91% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Code injection (CWE-94)
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

Description

PHP before 5.2.3 allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the pattern parameter to the glob function; or (2) a long string in the string parameter to the fnmatch function, accompanied by a pattern parameter value with undefined characteristics, as demonstrated by a "*[1]e" value. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.

From 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-4782
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4782