Resource management error in PHP - CVE-2011-1148

 

Resource management error in PHP - CVE-2011-1148

Published: March 18, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45220
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-1148
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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 software

PHP
Gentoo Linux
Slackware Linux
dev-lang/php
php

How to mitigate CVE-2011-1148

Install update from vendor's website.

dev-lang/php - update to 5.3.8
php - update to 5.3.8

External References

Related Security Bulletins