The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0…
Priority LOW 39Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
EPSS 0.03861 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:7.0.0:-:*:*:*:*:*:* | 7.0.0 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:alpha1:*:*:*:*:*:* | 7.0.0 alpha1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:alpha2:*:*:*:*:*:* | 7.0.0 alpha2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:beta1:*:*:*:*:*:* | 7.0.0 beta1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:beta2:*:*:*:*:*:* | 7.0.0 beta2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:beta3:*:*:*:*:*:* | 7.0.0 beta3 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:rc1:*:*:*:*:*:* | 7.0.0 rc1 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:rc2:*:*:*:*:*:* | 7.0.0 rc2 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:rc3:*:*:*:*:*:* | 7.0.0 rc3 | Vulnerable | PHP |
| cpe:2.3:a:php:php:7.0.0:rc4:*:*:*:*:*:* | 7.0.0 rc4 | Vulnerable | PHP |
- cpe:2.3:a:php:php:7.0.0:-:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:alpha1:*:*:*:*:*:* Versions 7.0.0 alpha1 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:alpha2:*:*:*:*:*:* Versions 7.0.0 alpha2 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:beta1:*:*:*:*:*:* Versions 7.0.0 beta1 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:beta2:*:*:*:*:*:* Versions 7.0.0 beta2 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:beta3:*:*:*:*:*:* Versions 7.0.0 beta3 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:rc1:*:*:*:*:*:* Versions 7.0.0 rc1 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:rc2:*:*:*:*:*:* Versions 7.0.0 rc2 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:rc3:*:*:*:*:*:* Versions 7.0.0 rc3 Vulnerable ·PHP
- cpe:2.3:a:php:php:7.0.0:rc4:*:*:*:*:*:* Versions 7.0.0 rc4 Vulnerable ·PHP
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Enterprise 2
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2015-6527
- 2026-10-03 Alias added: GHSA-hrfw-px9c-c3f5
- 2026-10-14 EPSS moved to the 90th–95th percentile
References
More Php vulnerabilities
- TI-2024-04260 Argument Injection in PHP-CGI KEVCVSS 3.1CRITICAL 9.8
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2012-01607 sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI… KEVCVSS 3.1CRITICAL 9.8
- TI-2026-78794 PHP remote code execution via stale global state KEVCVSS 4.0CRITICAL 9.2
- TI-2026-78793 Out-of-memory handling flaw in PHP allows remote code execution KEVCVSS 4.0CRITICAL 9.2
- TI-2015-00205 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… CVSS 2.0HIGH 10.0
Sources
- CVE-2015-6527 · CVE Program
- CVE-2015-6527 · NVD
- FIRST EPSS
- GHSA-hrfw-px9c-c3f5 · GitHub Advisory Database · CC BY 4.0
- CVE-2015-6527 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences