What’s Vulnerable › Vulnerabilities
CVE-2007-4782
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-09-10 · updated 2026-06-16
- Weakness: CWE-94
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.
Affected products
- PHP: through 5.2.3
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://osvdb.org/38686
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/30828
- http://secunia.com/advisories/31119
- http://secunia.com/advisories/31200
- http://securityreason.com/securityalert/3109
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023
- http://www.redhat.com/support/errata/RHSA-2008-0505.html
Get alerted when CVE-2007-4782 or the next vulnerability affects your stack