Back
CVE-2007-4840
PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the…
Medium5.0EPSS 3.2%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. 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)
- 3.2% · top 12% of all CVEs (2 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 (12)
- SUSE-SA:2008:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://issues.rpath.com/browse/RPL-1943 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 28658 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- GLSA-200710-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 20070906 PHP <= 5.2.4 multiple Iconv functions denial of service (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 30040 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27659 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 3122 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- SSRT080056 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 38916 (opens in a new tab)vdb-entryx_refsource_OSVDBx_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)
Record last updated .