Back
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…
Medium5.0EPSS 4.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.2% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
n/a
- affected n/a
References (23)
- FEDORA-2008-3864 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- SUSE-SA:2008:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 28658 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 30828 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2008:0582 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- GLSA-200710-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- USN-628-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20070904 PHP < 5.2.3 glob() denial of service (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2008:0545 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 31119 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2009:023 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- MDVSA-2009:022 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- php-fnmatch-dos(36457) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 31200 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:10897 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- RHSA-2008:0544 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 38686 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- php-globfunction-dos(36461) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20070904 PHP < 5.2.3 fnmatch() denial of service (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- RHSA-2008:0505 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 3109 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 20070905 PHP < 5.2.3 glob() denial of service (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-4782)Record last updated .