{"cve":"CVE-2007-4840","nvd":{"published":"2007-09-12T20:17:00.000","modified":"2026-06-16T22:44:53.700","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-20"],"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"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:48:28.501292361+00:00"},"epss":{"cve":"CVE-2007-4840","score":0.03152,"percentile":0.87953,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}