{"id":"CVE-2008-3659","aliases":["DSA-1647-1","EUVD-2008-3645","GHSA-q9wh-phxj-rxf5"],"status":"published","title":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6...","description":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function.  NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.","severity":{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06025,"percentile":0.93397,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2008-08-15T00:00:00Z","modified":"2026-06-16T22:56:15Z","affected":[{"source":"osv","ecosystem":"Debian:4.0","package":"php5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-8+etch13"}]}],"versions":["5.2.0-8+etch1","5.2.0-8+etch10","5.2.0-8+etch11","5.2.0-8+etch11~p1","5.2.0-8+etch3","5.2.0-8+etch4","5.2.0-8+etch5~pu1","5.2.0-8+etch6","5.2.0-8+etch7","5.2.0-8+etch8","5.2.0-8+etch9","5.2.0-8+etch9~bpo31+1"],"bundled":3}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.securitytracker.com/id?1020995","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://secunia.com/advisories/32746","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=125631037611762\u0026w=2","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=124654546101607\u0026w=2","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://secunia.com/advisories/31982","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:024","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://osvdb.org/47483","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/35074","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/32148","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44405","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource"]},{"url":"http://www.openwall.com/lists/oss-security/2008/08/13/8","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=234102","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:021","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/4","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1647","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/2336","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/3","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.php.net/archive/2008.php#id2008-08-07-1","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://news.php.net/php.cvs/52002","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/35650","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/32316","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3659"},{"url":"https://github.com/advisories/GHSA-q9wh-phxj-rxf5"}],"sources":{"cve":[{"id":"CVE-2008-3659","description":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function.  NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.","status":"published","published":"2008-08-15T00:00:00Z","modified":"2024-08-07T09:45:18.989Z","updated_at":"2026-11-02T14:34:45.877751Z"}],"euvd":[{"id":"EUVD-2008-3645","description":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function.  NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.","status":"published","published":"2008-08-15T00:00:00Z","modified":"2024-08-07T09:45:18Z","updated_at":"2026-11-03T01:38:51.310988Z"}],"ghsa":[{"id":"GHSA-q9wh-phxj-rxf5","title":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6...","description":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function.  NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.","status":"published","published":"2022-05-02T00:02:28Z","modified":"2023-01-31T05:06:39Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:49:04.453049Z"}],"nvd":[{"id":"CVE-2008-3659","description":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function.  NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.","status":"published","published":"2008-08-15T00:41:00Z","modified":"2026-06-16T22:56:15.44Z","cvss":[{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:27.800088Z"}],"osv":[{"id":"DSA-1647-1","title":"php5 - several vulnerabilities","status":"published","published":"2008-10-07T00:00:00Z","modified":"2026-03-09T01:18:04.547582Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
