All vulnerabilities

Servers and applications

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 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…

Severity
Medium 6.4
Published
15 Aug 2008
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
6% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Over the network · No login needed
Attacker can
Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.6
  • Version 5.2.5
  • Version 5.2.4
  • Version 5.2.3
All 16 release lines
  • Version 4.4.0
  • Version 4.4.1
  • Version 4.4.2
  • Version 4.4.3
  • Version 4.4.4
  • Version 4.4.5
  • Version 4.4.6
  • Version 4.4.7
  • Version 4.4.8
  • Version 5.2.0
  • Version 5.2.1
  • Version 5.2.2
  • Version 5.2.3
  • Version 5.2.4
  • Version 5.2.5
  • Version 5.2.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-3659
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-3659