---
title: "CVE-2010-1861\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2010-1861?format=md
keywords: index, follow
---

# CVE-2010-1861

Publication date 7 May 2010

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2010-1861?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 10.04 LTS lucid | Ignored |
| 9.10 karmic | Ignored |
| 9.04 jaunty | Ignored |
| 8.04 LTS hardy | Ignored |
| 6.06 LTS dapper | Ignored |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2010-1861?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

This is MOPS-2010-009
interruption issue, safe\_mode - open\_basedir bypass, ignoring

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| php5 | * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=299328> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1861)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2010-1861)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2010-1861)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2010-1861)

### Other references

* <http://php-security.org/2010/05/05/mops-2010-009-php-shm_put_var-already-freed-resource-access-vulnerability/index.html>
* <http://www.php.net/releases/5_3_3.php>
* <https://www.cve.org/CVERecord?id=CVE-2010-1861>
