Off-by-one error in the str_ireplace function in PHP 5.2.1 might allow context-dependent attackers to cause a denial of service (crash)
Published Feb 13, 2007
7.8
HIGHCVSS 2.0
EPSS 5.48%
Description
Off-by-one error in the str_ireplace function in PHP 5.2.1 might allow context-dependent attackers to cause a denial of service (crash).
Affected products
Remediation
Red Hat statement
Not vulnerable. This flaw is a regression of the fix for CVE-2007-0906 affecting PHP version 5.2.1 only which results in any use of str_replace() causing a crash regardless of user input. These issues did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1, 3, or 4.
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:N/A:C
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 2, 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 (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 5.48% (0.05479) | 92.52th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.27% (0.05274) | 91.48th | v5 (v2026.06.15) |
| May 19, 2026 | 11.59% (0.11594) | 93.73th | v4 (v2025.03.14) |
| Dec 28, 2025 | 9.71% (0.09711) | 92.66th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.05% (0.08055) | 91.86th | v4 (v2025.03.14) |
| Oct 28, 2025 | 9.71% (0.09711) | 92.56th | v4 (v2025.03.14) |
| Oct 27, 2025 | 8.05% (0.08055) | 91.75th | v4 (v2025.03.14) |
| Oct 2, 2025 | 9.71% (0.09711) | 92.68th | v4 (v2025.03.14) |
| Oct 1, 2025 | 10.82% (0.10825) | 93.13th | v4 (v2025.03.14) |
| Jul 30, 2025 | 9.00% (0.09002) | 92.26th | v4 (v2025.03.14) |
| Jun 21, 2025 | 10.82% (0.10825) | 93.01th | v4 (v2025.03.14) |
| Mar 30, 2025 | 9.47% (0.09472) | 92.07th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.73% (0.06728) | 85.05th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.47% (0.09472) | 92.24th | v4 (v2025.03.14) |
| Dec 12, 2024 | 3.18% (0.03177) | 91.53th | v3 (v2023.03.01) |
| Dec 18, 2023 | 3.18% (0.03177) | 90.14th | v3 (v2023.03.01) |
| Nov 10, 2023 | 3.11% (0.03107) | 89.98th | v3 (v2023.03.01) |
| Oct 3, 2023 | 2.94% (0.02936) | 89.62th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.00% (0.03002) | 89.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 11.00% (0.10995) | 94.86th | v2 (v2022.01.01) |
| Apr 1, 2022 | 11.00% (0.10995) | 94.44th | v2 (v2022.01.01) |
| Feb 4, 2022 | 11.00% (0.10995) | 88.52th | v2 (v2022.01.01) |
No CWE recorded.
References (13)
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.36&r2=1.445.2.14.2.37 x_refsource_MISC
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=php-dev&m=117104930526516&w=2 mailing-listx_refsource_MLIST
- http://marc.info/?l=php-dev&m=117106751715609&w=2 mailing-listx_refsource_MLIST
- http://osvdb.org/33952 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/24514 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/24606 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200703-21.xml vendor-advisoryx_refsource_GENTOO
- http://www.securityfocus.com/archive/1/459856/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/22505 vdb-entryx_refsource_BIDExploit
- https://access.redhat.com/security/cve/CVE-2007-0911 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-0911
- https://www.cve.org/CVERecord?id=CVE-2007-0911
Change history (0)
No recorded changes yet.