Vulnerabilities · 2007 · Php
CVE-2007-4840
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- osvdb.org/38916
- secunia.com/advisories/27102
- secunia.com/advisories/27659
- secunia.com/advisories/28658
- secunia.com/advisories/30040
- securityreason.com/securityalert/3122
- wiki.rpath.com/wiki/Advisories:rPSA-2007-0242
- nvd.nist.gov/vuln/detail/CVE-2007-4840
- cve.org/CVERecord?id=CVE-2007-4840
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.