{"id":"CVE-2007-4840","url":"https://www.cyber-defence.io/tools/cve/CVE-2007-4840","generatedAt":"2026-10-27T17:30:30.896Z","title":"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)…","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.","published":"2007-09-12T20:17:00.000Z","lastModified":"2026-06-16T22:44:54.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":5,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P"},"cwe":["CWE-20"],"affected":["php/php"],"epss":{"score":0.03152,"percentile":0.87862,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (3.15%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","source":"cve@mitre.org"},{"url":"http://osvdb.org/38916","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27102","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27659","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/28658","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/30040","source":"cve@mitre.org"},{"url":"http://securityreason.com/securityalert/3122","source":"cve@mitre.org"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/478730/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/491693/100/0/threaded","source":"cve@mitre.org"},{"url":"https://issues.rpath.com/browse/RPL-1943","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/38916","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27102","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27659","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/28658","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/30040","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/securityalert/3122","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/478730/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/491693/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://issues.rpath.com/browse/RPL-1943","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-4840","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}