Resource management error in PHP - CVE-2010-1861

 

Resource management error in PHP - CVE-2010-1861

Published: May 10, 2010 / Updated: June 8, 2025


Vulnerability identifier: #VU110304
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:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-1861
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.

The sysvshm extension for PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to write to arbitrary memory addresses by using an object's __sleep function to interrupt an internal call to the shm_put_var function, which triggers access of a freed resource.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2010-1861

Install update from vendor's website.

PHP - addressed in versions 5.2.14, 5.3.3
dev-lang/php - update to 5.3.8

External References

Related Security Bulletins