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 out_charset parameter to the iconv function; or a long string in....
MediumCVSS 5.0
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.2.4 | No fix listed |
| debian/glibc(Debian:12) | < 2.7-1 | 2.7-1 |
| debian/glibc(Debian:13) | < 2.7-1 | 2.7-1 |
| debian/glibc(Debian:14) | < 2.7-1 | 2.7-1 |
References
- SUSE-SA:2008:004 vendor-advisory
- 38916 vdb-entry
- 27102 third-party-advisory
- 27659 third-party-advisory
- 28658 third-party-advisory
- 30040 third-party-advisory
- 3122 third-party-advisory
- wiki.rpath.com
- GLSA-200710-02 vendor-advisory
- 20070906 PHP <= 5.2.4 multiple Iconv functions denial of service mailing-list
- SSRT080056 vendor-advisory
- issues.rpath.com
- Debian Security Tracker CVE-2007-4840 vendor-advisory