{"id":"CVE-2007-4840","aliases":["DEBIAN-CVE-2007-4840","EUVD-2007-4821","GHSA-pgvh-6hc4-99ch"],"status":"published","title":"PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service ...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03152,"percentile":0.88039,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2007-09-12T20:00:00Z","modified":"2026-10-21T17:47:45Z","fixes":[{"ecosystem":"Debian:12","package":"glibc","fixed_in":["2.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"glibc","fixed_in":["2.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"glibc","fixed_in":["2.7-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-1"}]}]}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://issues.rpath.com/browse/RPL-1943","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/28658","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/478730/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/30040","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/27659","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://securityreason.com/securityalert/3122","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/491693/100/0/threaded","tags":["vendor-advisory","x_refsource_HP","x_transferred","web"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2007-0242","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/27102","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://osvdb.org/38916","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4840"},{"url":"https://github.com/advisories/GHSA-pgvh-6hc4-99ch"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-4840","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-4840","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.","status":"published","published":"2007-09-12T20:00:00Z","modified":"2024-08-07T15:08:33.802Z","updated_at":"2026-11-02T13:33:41.472948Z"}],"euvd":[{"id":"EUVD-2007-4821","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.","status":"published","published":"2007-09-12T20:00:00Z","modified":"2024-08-07T15:08:33Z","updated_at":"2026-11-03T01:16:19.667559Z"}],"ghsa":[{"id":"GHSA-pgvh-6hc4-99ch","title":"PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service ...","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.","status":"published","published":"2022-05-01T18:27:41Z","modified":"2023-01-31T05:04:33Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:48:41.545541Z"}],"nvd":[{"id":"CVE-2007-4840","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.","status":"published","published":"2007-09-12T20:17:00Z","modified":"2026-06-16T22:44:53.7Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:21.141213Z"}],"osv":[{"id":"CVE-2007-4840","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.","status":"published","published":"2007-09-12T20:17:00Z","modified":"2026-04-10T03:39:12.576012Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2007-4840","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.","status":"published","published":"2007-09-12T20:17:00Z","modified":"2026-10-21T17:47:45.260497734Z","updated_at":"2026-11-02T15:45:23.411908Z"}]}}
