National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2007-4782 Detail


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.

Source:  MITRE      Last Modified:  09/10/2007

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
(AV:N/AC:L/Au:N/C:N/I:N/A:P) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/12/2007)

We do not consider this to be a security issue. For more information please see and

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source SUSE SUSE-SA:2008:004 External Source SREASON 3109 External Source GENTOO GLSA-200710-02 External Source MANDRIVA MDVSA-2009:022 External Source MANDRIVA MDVSA-2009:023 External Source REDHAT RHSA-2008:0505 External Source REDHAT RHSA-2008:0544 External Source REDHAT RHSA-2008:0545 External Source REDHAT RHSA-2008:0582 Exploit External Source BUGTRAQ 20070905 PHP < 5.2.3 glob() denial of service Exploit External Source BUGTRAQ 20070904 PHP < 5.2.3 glob() denial of service External Source BUGTRAQ 20070904 PHP < 5.2.3 fnmatch() denial of service External Source UBUNTU USN-628-1 External Source XF php-fnmatch-dos(36457) External Source XF php-globfunction-dos(36461) External Source OVAL oval:org.mitre.oval:def:10897 External Source FEDORA FEDORA-2008-3864

References to Check Content

Check System:

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*    versions up to (including) 5.2.3

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 3 change records found - show changes