CVE-2007-4782: php Improper Control of Generation of Code
Vulnerability summary
CVE-2007-4782 is a medium (CVSS 5.0) Improper Control of Generation of Code vulnerability in php. EPSS estimates a 4.70% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4Timeline
- 10-09-2007PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
4.70%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.70% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (securityfocus.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Php1 product
- php≤ 5.2.3
1 vendor · 1 product
References
23 links- www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.htmlVendor AdvisoryX Refsource FEDORA
Show all 23 references
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10897VDB EntrySignatureX Refsource OVAL