CVE-2008-3659
Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6...
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.
Exploit likelihood
What each source reports
NVD Score used
6.4
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.
- Record
CVE-2008-3659- CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-3659- Updated
- 2026-11-02
EUVDEUVD-2008-3645 No score
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.
- Record
EUVD-2008-3645- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-q9wh-phxj-rxf5 No score
Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6...
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.
- Record
GHSA-q9wh-phxj-rxf5- Weakness
- CWE-119
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php5Debian:4.0 From an advisory covering 3 CVEs |
before 5.2.0-8+etch13, plus listed versions 5.2.0-8+etch15.2.0-8+etch105.2.0-8+etch115.2.0-8+etch11~p15.2.0-8+etch3 Show 7 moreShow less5.2.0-8+etch45.2.0-8+etch5~pu15.2.0-8+etch65.2.0-8+etch75.2.0-8+etch85.2.0-8+etch95.2.0-8+etch9~bpo31+1 |
5.2.0-8+etch13 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-3659 is a medium vulnerability (CVSS 6.4) in Php, published August 15, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.02%, the 93rd percentile. No source names a fixed version.
References
securitytracker.com/id?1020995
secunia.com/advisories/32746
marc.info?l=bugtraq&m=125631037611762&w=2
support.apple.com/kb/HT3549
security.gentoo.org/glsa/glsa-200811-05.xml
marc.info?l=bugtraq&m=124654546101607&w=2
Show 29 moreShow less
secunia.com/advisories/31982
securityfocus.com/archive/1/501376/100/0/threaded
mandriva.com/security/advisories?name=MDVSA-2009:024
osvdb.org/47483
wiki.rpath.com/Advisories:rPSA-2009-0035
secunia.com/advisories/35074
secunia.com/advisories/32148
lists.apple.com/archives/security-announce/2009/May/msg00002.html
openwall.com/lists/oss-security/2008/08/08/2
lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html
mandriva.com/security/advisories?name=MDVSA-2009:023
mandriva.com/security/advisories?name=MDVSA-2009:022
exchange.xforce.ibmcloud.com/vulnerabilities/44405
us-cert.gov/cas/techalerts/TA09-133A.html
openwall.com/lists/oss-security/2008/08/13/8
vupen.com/english/advisories/2009/1297
bugs.gentoo.org/show_bug.cgi?id=234102
mandriva.com/security/advisories?name=MDVSA-2009:021
openwall.com/lists/oss-security/2008/08/08/4
debian.org/security/2008/dsa-1647
vupen.com/english/advisories/2008/2336
openwall.com/lists/oss-security/2008/08/08/3
php.net/archive/2008.php
news.php.net/php.cvs/52002
secunia.com/advisories/35650
secunia.com/advisories/32316
nvd.nist.gov/vuln/detail/CVE-2008-3659
github.com/advisories/GHSA-q9wh-phxj-rxf5