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

# CVE-2009-2140

Publication date 21 September 2009

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Multiple heap-based buffer overflows in
cppcanvas/source/mtfrenderer/emfplus.cxx in Go-oo 2.x and 3.x before 3.0.1,
previously named ooo-build and related to OpenOffice.org (OOo), allow
remote attackers to execute arbitrary code via a crafted EMF+ file, a
similar issue to CVE-2008-2238.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| openoffice.org | 9.04 jaunty | Not affected |
| 8.10 intrepid | Not affected |
| 8.04 LTS hardy | Not affected |
| 6.06 LTS dapper | Ignored end of life |

---

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

## Notes

---

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

Patch is patches/emf+/emf+-cppcanvas-input-validation.diff, but
emfplus.cxx is not included or compiled in Ubuntu 8.10 or 8.04. Debian
includes the patch in 2.4.1+dfsg-1+lenny3, but does not apply it anywhere.

### 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 |
| --- | --- |
| openoffice.org | * Upstream:   [?id=49b](http://cgit.freedesktop.org/ooo-build/ooo-build/commit/?id=49b4e38571912a7d28c4044e5b2bd57e51c77d55) |

## References

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

### Other references

* <http://marc.info/?l=oss-security&m=125258116800739&w=2>
* <http://marc.info/?l=oss-security&m=125265261125765&w=2>
* <https://www.cve.org/CVERecord?id=CVE-2009-2140>
