php: use-after-free vulnerability in substr_replace()
Published Mar 18, 2011
7.5
HIGHCVSS 2.0
EPSS 4.74%
Description
Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows context-dependent attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact by using the same variable for multiple arguments.
Affected products
No data.
- ≤ 5.3.6
- 1.0
- 2.0
- 2.0b10
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 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
- 4.4.9
- 5.3.0
- 5.3.1
- 5.3.2
- 5.3.3
- 5.3.4
- 5.3.5
No data.
Red Hat Enterprise Linux 5
php-0:5.1.6-27.el5_7.4
Fixed · RHSA-2012:0033
Red Hat Enterprise Linux 5
php53-0:5.3.3-1.el5_7.3
Fixed · RHSA-2011:1423
Red Hat Enterprise Linux 6
php-0:5.3.3-3.el6_1.3
Fixed · RHSA-2011:1423
Red Hat Enterprise Linux 4
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php-0:5.1.6-27.el5_7.4 | Fixed | RHSA-2012:0033 |
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-1.el5_7.3 | Fixed | RHSA-2011:1423 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-3.el6_1.3 | Fixed | RHSA-2011:1423 |
| Red Hat Enterprise Linux 4 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 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: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 (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.74% (0.04736) | 91.58th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.61% (0.04609) | 90.45th | v5 (v2026.06.15) |
| Jan 1, 2026 | 2.31% (0.02312) | 84.41th | v4 (v2025.03.14) |
| Dec 4, 2025 | 3.41% (0.03406) | 87.00th | v4 (v2025.03.14) |
| Dec 1, 2025 | 2.36% (0.02358) | 84.47th | v4 (v2025.03.14) |
| Nov 4, 2025 | 3.41% (0.03406) | 86.92th | v4 (v2025.03.14) |
| Nov 1, 2025 | 2.36% (0.02358) | 84.42th | v4 (v2025.03.14) |
| Oct 4, 2025 | 3.41% (0.03406) | 86.94th | v4 (v2025.03.14) |
| Aug 1, 2025 | 1.62% (0.01616) | 81.12th | v4 (v2025.03.14) |
| Jul 5, 2025 | 3.41% (0.03406) | 86.92th | v4 (v2025.03.14) |
| Jul 1, 2025 | 2.36% (0.02358) | 84.28th | v4 (v2025.03.14) |
| Jun 25, 2025 | 3.41% (0.03406) | 86.90th | v4 (v2025.03.14) |
| Jun 23, 2025 | 2.36% (0.02358) | 84.20th | v4 (v2025.03.14) |
| Jun 4, 2025 | 3.41% (0.03406) | 86.85th | v4 (v2025.03.14) |
| Jun 1, 2025 | 2.36% (0.02358) | 84.17th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.41% (0.03406) | 86.31th | v4 (v2025.03.14) |
| Mar 29, 2025 | 6.06% (0.06058) | 84.14th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.41% (0.03406) | 86.60th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.58% (0.01579) | 87.82th | v3 (v2023.03.01) |
| May 8, 2024 | 1.58% (0.01579) | 87.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.58% (0.01579) | 85.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (18)
- http://bugs.php.net/bug.php?id=54238 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html vendor-advisoryx_refsource_APPLE
- http://marc.info/?l=bugtraq&m=133469208622507&w=2 vendor-advisoryx_refsource_HP
- http://openwall.com/lists/oss-security/2011/03/13/2 mailing-listx_refsource_MLIST
- http://openwall.com/lists/oss-security/2011/03/13/3 mailing-listx_refsource_MLIST
- http://openwall.com/lists/oss-security/2011/03/13/9 mailing-listx_refsource_MLIST
- http://support.apple.com/kb/HT5130 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165 vendor-advisoryx_refsource_MANDRIVA
- http://www.php.net/ChangeLog-5.php#5.3.7 x_refsource_CONFIRM
- http://www.php.net/archive/2011.php#id2011-08-18-1 x_refsource_CONFIRM
- http://www.redhat.com/support/errata/RHSA-2011-1423.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/46843 vdb-entryx_refsource_BID
- http://www.securityfocus.com/bid/49241 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2011-1148 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=688958 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66080 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2011-1148
- https://www.cve.org/CVERecord?id=CVE-2011-1148
Change history (0)
No recorded changes yet.