{
  "modified": "2025-08-09T19:01:28Z",
  "published": "2007-09-12T20:17:00Z",
  "id": "CVE-2007-4840",
  "details": "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.",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/27102"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/27659"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/28658"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/30040"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/38916"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/3122"
    },
    {
      "type": "WEB",
      "url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242"
    },
    {
      "type": "WEB",
      "url": "http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/478730/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/491693/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "https://issues.rpath.com/browse/RPL-1943"
    }
  ]
}
