CVE-2011-1148 Use after free in n/a
Attackers can trigger a use-after-free in PHP's substr_replace function, causing denial of service or potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- Available
What is CVE-2011-1148?
CVE-2011-1148 is a high-severity use after free vulnerability in Php Php, published on 18 Mar 2011.
Official 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.
Weakness: CWE-399
Which versions are affected by CVE-2011-1148?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2011-1148?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2011-1148 being exploited?
There is no known exploitation of CVE-2011-1148 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-w6xh-r634-49c8.