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

# CVE-2010-2531

Publication date 20 August 2010

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The var\_export function in PHP 5.2 before 5.2.14 and 5.3 before 5.3.3
flushes the output buffer to the user when certain fatal errors occur, even
if display\_errors is off, which allows remote attackers to obtain sensitive
information by causing the application to exceed limits for memory,
execution time, or recursion.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 10.04 LTS lucid | Fixed 5.3.2-1ubuntu4.5 |
| 9.10 karmic | Fixed 5.2.10.dfsg.1-2ubuntu6.5 |
| 9.04 jaunty | Fixed 5.2.6.dfsg.1-3ubuntu4.6 |
| 8.04 LTS hardy | Fixed 5.2.4-2ubuntu5.12 |
| 6.06 LTS dapper | Fixed 5.1.2-1ubuntu3.19 |

---

* [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-2531?format=md#patch-details)

## Notes

---

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

5.2.14 and 5.3.3

### 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=301143> * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=301144> * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=301245> * Upstream:   <http://svn.php.net/viewvc?view=revision&revision=301863> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-989-1](https://usn.ubuntu.com/USN-989-1)
+ PHP vulnerabilities
+ 20 September 2010

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2010-2531>
