php: Arbitrary code execution in str_ireplace function
Published Jan 19, 2016
7.3
HIGHCVSS 3.1
EPSS 3.86%
Description
The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function.
Affected products
No data.
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
- 7.0.0
No data.
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat OpenShift Enterprise 2
php
Not affected
Red Hat Software Collections
php54-php
Not affected
Red Hat Software Collections
php55-php
Not affected
Red Hat Software Collections
rh-php56-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat OpenShift Enterprise 2 | php | Not affected | n/a |
| Red Hat Software Collections | php54-php | Not affected | n/a |
| Red Hat Software Collections | php55-php | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of php and php53 as shipped with Red Hat Enterprise Linux 5 and the versions of php as shipped with Red Hat Enterprise Linux 6 and 7.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/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 (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.86% (0.03861) | 89.85th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.86% (0.03861) | 88.78th | v5 (v2026.06.15) |
| Dec 28, 2025 | 2.62% (0.02621) | 85.24th | v4 (v2025.03.14) |
| Dec 27, 2025 | 1.59% (0.01589) | 81.24th | v4 (v2025.03.14) |
| Oct 28, 2025 | 2.62% (0.02621) | 85.13th | v4 (v2025.03.14) |
| Oct 27, 2025 | 1.59% (0.01589) | 81.04th | v4 (v2025.03.14) |
| Oct 4, 2025 | 2.62% (0.02621) | 85.14th | v4 (v2025.03.14) |
| Aug 6, 2025 | 1.59% (0.01589) | 80.88th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.22% (0.03222) | 85.91th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.29% (0.06294) | 84.47th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.03% (0.03034) | 85.74th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.86% (0.00857) | 82.97th | v3 (v2023.03.01) |
| Jun 12, 2024 | 0.86% (0.00857) | 82.31th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.86% (0.00857) | 80.31th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.05% (0.01047) | 81.70th | v3 (v2023.03.01) |
| Mar 6, 2023 | 5.79% (0.05785) | 90.41th | v2 (v2022.01.01) |
| Apr 1, 2022 | 5.79% (0.05785) | 89.45th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.79% (0.05785) | 77.27th | v2 (v2022.01.01) |
No CWE recorded.
References (7)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5 x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2015/07/30/11 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2015-6527 Vendor Advisory
- https://bugs.php.net/bug.php?id=70140 x_refsource_CONFIRMExploitIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1255780 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-6527
- https://www.cve.org/CVERecord?id=CVE-2015-6527
| Link | Providers | Tags |
|---|---|---|
| http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5 | x_refsource_CONFIRM | |
| http://www.openwall.com/lists/oss-security/2015/07/30/11 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2015-6527 | Vendor Advisory | |
| https://bugs.php.net/bug.php?id=70140 | x_refsource_CONFIRMExploitIssue TrackingVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1255780 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-6527 | ||
| https://www.cve.org/CVERecord?id=CVE-2015-6527 |
Change history (0)
No recorded changes yet.