What’s Vulnerable › Vulnerabilities
CVE-2011-1148
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2011-03-18 · updated 2026-06-16
- Weakness: CWE-399
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
- PHP: through 5.3.6; 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2 (+65)
References
- http://bugs.php.net/bug.php?id=54238
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://openwall.com/lists/oss-security/2011/03/13/2
- http://openwall.com/lists/oss-security/2011/03/13/3
- http://openwall.com/lists/oss-security/2011/03/13/9
- http://support.apple.com/kb/HT5130
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://www.php.net/archive/2011.php#id2011-08-18-1
- http://www.redhat.com/support/errata/RHSA-2011-1423.html
- http://www.securityfocus.com/bid/46843
Get alerted when CVE-2011-1148 or the next vulnerability affects your stack