php: buffer overflow in memnstr
Published Aug 15, 2008
6.4
MEDIUMCVSS 2.0
EPSS 6.02%
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.
Affected products
No data.
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 4.4.7
- 4.4.8
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.02% (0.06025) | 93.13th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.02% (0.06025) | 92.39th | v5 (v2026.06.15) |
| May 13, 2026 | 16.47% (0.16468) | 94.95th | v4 (v2025.03.14) |
| Dec 28, 2025 | 14.23% (0.14232) | 94.16th | v4 (v2025.03.14) |
| Dec 27, 2025 | 9.63% (0.09634) | 92.66th | v4 (v2025.03.14) |
| Dec 17, 2025 | 14.23% (0.14232) | 94.15th | v4 (v2025.03.14) |
| Dec 10, 2025 | 16.47% (0.16468) | 94.65th | v4 (v2025.03.14) |
| Oct 28, 2025 | 14.23% (0.14232) | 94.09th | v4 (v2025.03.14) |
| Oct 27, 2025 | 9.63% (0.09634) | 92.55th | v4 (v2025.03.14) |
| Oct 1, 2025 | 14.23% (0.14232) | 94.19th | v4 (v2025.03.14) |
| Jul 30, 2025 | 9.63% (0.09634) | 92.56th | v4 (v2025.03.14) |
| Jul 7, 2025 | 14.23% (0.14232) | 94.05th | v4 (v2025.03.14) |
| Mar 19, 2025 | 17.95% (0.17954) | 94.41th | v4 (v2025.03.14) |
| Mar 17, 2025 | 16.04% (0.16038) | 94.29th | v4 (v2025.03.14) |
| Dec 17, 2024 | 15.68% (0.15684) | 95.89th | v3 (v2023.03.01) |
| Jan 18, 2024 | 3.36% (0.03359) | 90.46th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.47% (0.03468) | 90.03th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.23% (0.04229) | 87.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.23% (0.04229) | 86.19th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.23% (0.04229) | 69.94th | v2 (v2022.01.01) |
References (37)
- http://bugs.gentoo.org/show_bug.cgi?id=234102 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor-advisoryx_refsource_HP
- http://news.php.net/php.cvs/52002 x_refsource_CONFIRM
- http://osvdb.org/47483 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/31982 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32148 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32316 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/32746 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35074 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35650 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200811-05.xml vendor-advisoryx_refsource_GENTOO
- http://support.apple.com/kb/HT3549 x_refsource_CONFIRM
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 x_refsource_CONFIRM
- http://www.debian.org/security/2008/dsa-1647 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:021 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:024 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2008/08/08/2 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2008/08/08/3 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2008/08/08/4 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2008/08/13/8 mailing-listx_refsource_MLIST
- http://www.php.net/archive/2008.php#id2008-08-07-1 x_refsource_CONFIRMPatch
- http://www.securityfocus.com/archive/1/501376/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securitytracker.com/id?1020995 vdb-entryx_refsource_SECTRACK
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html third-party-advisoryx_refsource_CERTUS Government Resource
- http://www.vupen.com/english/advisories/2008/2336 vdb-entryx_refsource_VUPEN
- http://www.vupen.com/english/advisories/2009/1297 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2008-3659 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=459569 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/44405 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-3659
- https://www.cve.org/CVERecord?id=CVE-2008-3659
Change history (0)
No recorded changes yet.