CVE-2011-1148 json
Use-after-free vulnerability in the substr_replace function in PHP 5.3.6 and earlier allows context-dependent attackers to cause a denial o…
published 2011-03-18 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-1162
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php RHEL 5 5.1.6-27.el5_7.4
- php-gd RHEL 5 5.1.6-27.el5_7.4
- php-cli RHEL 5 5.1.6-27.el5_7.4
- php-dba RHEL 5 5.1.6-27.el5_7.4
- php-pdo RHEL 5 5.1.6-27.el5_7.4
- php-xml RHEL 5 5.1.6-27.el5_7.4
- php-imap RHEL 5 5.1.6-27.el5_7.4
- php-ldap RHEL 5 5.1.6-27.el5_7.4
red hat advisories RHSA-2012:0033RHSA-2011:1423
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-1148 updated cvss 6.8
php: use-after-free vulnerability in substr_replace()
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-27.el5_7.4, php53 5.3.3-1.el5_7.3, php-gd 5.1.6-27.el5_7.4, php-cli 5.1.6-27.el5_7.4, php-dba 5.1.6-27.el5_7.4, php-pdo 5.1.6-27.el5_7.4, +32 morefixed: vendor fix RHSA-2012:0033
-
Red Hat Enterprise Linux Server (v. 6) php 5.3.3-3.el6_1.3, php-gd 5.3.3-3.el6_1.3, php-cli 5.3.3-3.el6_1.3, php-pdo 5.3.3-3.el6_1.3, php-xml 5.3.3-3.el6_1.3, php-ldap 5.3.3-3.el6_1.3, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-3.el6_1.3, php-dba 5.3.3-3.el6_1.3, php-zts 5.3.3-3.el6_1.3, php-imap 5.3.3-3.el6_1.3, php-intl 5.3.3-3.el6_1.3, php-snmp 5.3.3-3.el6_1.3, +8 morefixed: vendor fix RHSA-2011:1423
-
Red Hat RHEL Desktop Workstation (v. 5 client) php 5.1.6-27.el5_7.4, php53 5.3.3-1.el5_7.3, php-gd 5.1.6-27.el5_7.4, php-cli 5.1.6-27.el5_7.4, php-dba 5.1.6-27.el5_7.4, php-pdo 5.1.6-27.el5_7.4, +32 morefixed: vendor fix RHSA-2012:0033
-
Red Hat Enterprise Linux 4 phpnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.74% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-399 Resource Management Errors
- Technology feeds
References
-
marc.info
/?l=bugtraq&m=133469208622507&w=2
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2011:165
vendor-advisory
-
lists.apple.com
/archives/security-announce/2012/Feb/msg00000.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2011-1423.html
vendor-advisory
- support.apple.com /kb/HT5130
-
securityfocus.com
/bid/49241
vdb-entry
-
openwall.com
/lists/oss-security/2011/03/13/2
mailing-list
-
openwall.com
/lists/oss-security/2011/03/13/9
mailing-list
-
openwall.com
/lists/oss-security/2011/03/13/3
mailing-list
- bugs.php.net /bug.php?id=54238
- php.net /ChangeLog-5.php#5.3.7
-
exchange.xforce.ibmcloud.com
/vulnerabilities/66080
vdb-entry
-
securityfocus.com
/bid/46843
vdb-entry
- php.net /archive/2011.php#id2011-08-18-1
Sources
- CVE List CVE-2011-1148
- NVD CVE-2011-1148
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.