Back to CVE catalog
CVE-2008-3659

Buffer overflow in the memnstr function in PHP

php php

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.4Medium
Published:
Updated:
EPSS:
6.025%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
4.4.0Show full version range for php
4.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.85.2.05.2.15.2.25.2.35.2.45.2.55.2.6

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary6.4 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:P
nvd · Wazuh CTI (cna)6.4 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories37

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences