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

# CVE-2011-4516

Publication date 14 December 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Heap-based buffer overflow in the jpc\_cox\_getcompparms function in
libjasper/jpc/jpc\_cs.c in JasPer 1.900.1 allows remote attackers to execute
arbitrary code or cause a denial of service (memory corruption) via a
crafted numrlvls value in a coding style default (COD) marker segment in a
JPEG2000 file.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ghostscript | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Fixed 8.71.dfsg.2-0ubuntu7.1 |
| 10.04 LTS lucid | Fixed 8.71.dfsg.1-0ubuntu5.4 |
| 8.04 LTS hardy | Fixed 8.61.dfsg.1-1ubuntu3.4 |
| jasper | 11.10 oneiric | Fixed 1.900.1-7ubuntu2.11.10.1 |
| 11.04 natty | Fixed 1.900.1-7ubuntu2.11.04.1 |
| 10.10 maverick | Fixed 1.900.1-7ubuntu0.10.10.1 |
| 10.04 LTS lucid | Fixed 1.900.1-7ubuntu0.10.04.1 |
| 8.04 LTS hardy | Ignored end of life |
| netpbm-free | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not affected |

---

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

## Notes

---

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

test images can be found at http://www.ece.uvic.ca/~frodo/jasper/

---

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

ghostscript has embedded jasper in maverick and older
Debian's netpbm-free doesn't contain jasper

### 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 |
| --- | --- |
| jasper | * Vendor:   <https://rhn.redhat.com/errata/RHSA-2011-1807.html> |
| netpbm-free | * Vendor:   <https://rhn.redhat.com/errata/RHSA-2011-1811.html> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1315-1](https://usn.ubuntu.com/USN-1315-1)
+ JasPer vulnerabilities
+ 20 December 2011

+ [USN-1317-1](https://usn.ubuntu.com/USN-1317-1)
+ Ghostscript vulnerabilities
+ 4 January 2012

### Other references

* <http://www.kb.cert.org/vuls/id/887409>
* <https://www.cve.org/CVERecord?id=CVE-2011-4516>
