CVE-2007-4782: PHP

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

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.

Affected products

  • PHP PHP: up to and including 5.2.3

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