{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2007-4840","published":"2007-09-12T20:17:00Z","last_modified":"2026-06-16T22:44:53.700000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_end_including":"5.2.4"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.03152,"percentile":0.88709,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2007-4840/","html_en":"/en/cve/CVE-2007-4840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-4840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-4840"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"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":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","tags":[]},{"url":"http://osvdb.org/38916","tags":[]},{"url":"http://secunia.com/advisories/27102","tags":[]},{"url":"http://secunia.com/advisories/27659","tags":[]},{"url":"http://secunia.com/advisories/28658","tags":[]},{"url":"http://secunia.com/advisories/30040","tags":[]},{"url":"http://securityreason.com/securityalert/3122","tags":[]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242","tags":[]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","tags":[]},{"url":"http://www.securityfocus.com/archive/1/478730/100/0/threaded","tags":[]},{"url":"http://www.securityfocus.com/archive/1/491693/100/0/threaded","tags":[]},{"url":"https://issues.rpath.com/browse/RPL-1943","tags":[]}]}}