U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2008-3659 Detail

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.


Evaluator Description

Overview contains a typo, should read "PHP 5.2 through 5.2.6" not "5.6 through 5.2.6".

Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (08/07/2017)

The PHP interpreter does not offer a reliable sandboxed security layer (as found in, say, a JVM) in which untrusted scripts can be run any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself. We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
http://bugs.gentoo.org/show_bug.cgi?id=234102 CVE, MITRE
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html CVE, MITRE
http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html CVE, MITRE
http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html CVE, MITRE
http://marc.info/?l=bugtraq&m=124654546101607&w=2 CVE, MITRE
http://marc.info/?l=bugtraq&m=125631037611762&w=2 CVE, MITRE
http://news.php.net/php.cvs/52002 CVE, MITRE
http://osvdb.org/47483 CVE, MITRE
http://secunia.com/advisories/31982 CVE, MITRE
http://secunia.com/advisories/32148 CVE, MITRE
http://secunia.com/advisories/32316 CVE, MITRE
http://secunia.com/advisories/32746 CVE, MITRE
http://secunia.com/advisories/35074 CVE, MITRE
http://secunia.com/advisories/35650 CVE, MITRE
http://security.gentoo.org/glsa/glsa-200811-05.xml CVE, MITRE
http://support.apple.com/kb/HT3549 CVE, MITRE
http://wiki.rpath.com/Advisories:rPSA-2009-0035 CVE, MITRE
http://www.debian.org/security/2008/dsa-1647 CVE, MITRE
http://www.mandriva.com/security/advisories?name=MDVSA-2009:021 CVE, MITRE
http://www.mandriva.com/security/advisories?name=MDVSA-2009:022 CVE, MITRE
http://www.mandriva.com/security/advisories?name=MDVSA-2009:023 CVE, MITRE
http://www.mandriva.com/security/advisories?name=MDVSA-2009:024 CVE, MITRE
http://www.openwall.com/lists/oss-security/2008/08/08/2 CVE, MITRE
http://www.openwall.com/lists/oss-security/2008/08/08/3 CVE, MITRE
http://www.openwall.com/lists/oss-security/2008/08/08/4 CVE, MITRE
http://www.openwall.com/lists/oss-security/2008/08/13/8 CVE, MITRE
http://www.php.net/archive/2008.php#id2008-08-07-1 CVE, MITRE Patch 
http://www.securityfocus.com/archive/1/501376/100/0/threaded CVE, MITRE
http://www.securitytracker.com/id?1020995 CVE, MITRE
http://www.us-cert.gov/cas/techalerts/TA09-133A.html CVE, MITRE US Government Resource 
http://www.vupen.com/english/advisories/2008/2336 CVE, MITRE
http://www.vupen.com/english/advisories/2009/1297 CVE, MITRE
https://exchange.xforce.ibmcloud.com/vulnerabilities/44405 CVE, MITRE

Weakness Enumeration

CWE-ID CWE Name Source
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

5 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2008-3659
NVD Published Date:
08/14/2008
NVD Last Modified:
04/08/2025
Source:
MITRE