---
title: CVE-2016-9115
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-2016-9115
---

# CVE-2016-9115

Publication date 30 October 2016

Last updated 26 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**6.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2016-9115#impact-score)

Toggle side navigation

## Description

Heap Buffer Over-read in function imagetotga of convert.c(jp2):942 in
OpenJPEG 2.1.2. Impact is Denial of Service. Someone must open a crafted
j2k file.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2016-9115#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| openjpeg2 | 26.10 stonking | Not affected |
| 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 17.04 zesty | Ignored end of life |
| 16.10 yakkety | Ignored end of life |
| 16.04 LTS xenial | Vulnerable |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |
| ghostscript | 26.10 stonking | Not affected |
| 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Not affected |
| 21.04 hirsute | Not affected |
| 20.10 groovy | Not affected |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| openjpeg | 26.10 stonking | Not in release |
| 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Not in release |
| 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [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-2016-9115#patch-details)

## Notes

---

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

Pull request 895 seems to be an initial attempt to fix this
issue. However, pull request 895 was never merged, and instead,
five issues which did not include issue 856 were fixed by
various commits created by upstream (these can be seen in PR
895) which utilized part of what was being proposed in 895 by
an openjpeg contributor. The changes proposed in 895 that were
not added by the upstream commits previously mentioned were
added to a new pull request, 975, which attempts to fix various
issues. Looking at comments in issue 863 it was possible to
verify that the fix for CVE-2016-9114 is possibly commit
2fa0fc61f2d (see CVE-2016-9114 for more details). This CVE
mentions a vulnerability similar to the one we have here in
CVE-2016-9115. Therefore, looking at the patch for CVE-2016-9114
and looking at the changes proposed by PR 975, it seems like
the changes in this PR aim to address CVE-2016-9115 in a way
similar to the one used to address CVE-2016-9114. PR 975 was
merged, however, it introduced regressions. See PR in order
to verify changes made after it was merged in order to fix
introduced regressions if adding patch.

---

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

upstream made 4 commits to src/bin/jp2/convert.c in late July before asking discoverer to retest who said openjpeg was then patched: 2fa0fc6, 784d4d4, c22cbd8, and 00f4568 note that 00f4568 is part of 0394f8d

### 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 |
| --- | --- |
| openjpeg2 | * Upstream:   [0394f8d](https://github.com/uclouvain/openjpeg/commit/0394f8d0f1c981e0bc587beddc14d1fb0b265b1b) |
| openjpeg | * Upstream:   [0394f8d](https://github.com/uclouvain/openjpeg/commit/0394f8d0f1c981e0bc587beddc14d1fb0b265b1b) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

## References

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

### Other references

* <https://bugs.gentoo.org/628418>
* <https://github.com/Young-X/pocs/tree/master/OpenJPEG_POC>
* <https://www.cve.org/CVERecord?id=CVE-2016-9115>
