CVE-2011-1148: PHP

High severity, CVSS 7.5. EPSS: 4.7% chance of exploitation in the next 30 days.

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 PHP: up to and including 5.3.6; version 1.0 only; version 2.0 only; version 2.0b10 only; version 3.0 only; version 3.0.1 only; …

Published 2011-03-18. Last modified 2026-06-16.