---
title: "CVE-2007-1581\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-2007-1581?format=md
keywords: index, follow
---

# CVE-2007-1581

Publication date 21 March 2007

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent
attackers to execute arbitrary code by interrupting the hash\_update\_file
function via a userspace (1) error or (2) stream handler, which can then be
used to destroy and modify internal resources. NOTE: it was later reported
that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2007-1581?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.10 intrepid | Ignored end of life, was needed |
| 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)

## Notes

---

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

This is MOPS-2010-001
malicious script only, ignoring.

## References

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

### Other references

* <http://www.php-security.org/MOPB/MOPB-28-2007.html>
* <http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html>
* <https://www.cve.org/CVERecord?id=CVE-2007-1581>
