What’s Vulnerable › Vulnerabilities
CVE-2007-4840
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2007-09-12 · updated 2026-06-16
- Weakness: CWE-20
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
- PHP: through 5.2.4
References
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://osvdb.org/38916
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27659
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/30040
- http://securityreason.com/securityalert/3122
- http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.securityfocus.com/archive/1/478730/100/0/threaded
- http://www.securityfocus.com/archive/1/491693/100/0/threaded
- https://issues.rpath.com/browse/RPL-1943
Get alerted when CVE-2007-4840 or the next vulnerability affects your stack