Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-8332

A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-8332
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:56 UTC · Revision 1

Source evidence

CVE-2016-8332

core-osv · Original source

Published 28 Oct 2016, 14:59 UTC

A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.

osv:CVE-2016-8332
Complete source record
{
  "id": "c9fb9e51bf6aef72b41cfc66d29ab3775da837fb6b66dbaafa1e99f40a27854d",
  "url": "https://osv.dev/vulnerability/CVE-2016-8332",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-8332",
    "summary": "A buffer overflow in OpenJPEG 2.1.1 causes arbitrary code execution when parsing a crafted image. An exploitable code execution vulnerability exists in the jpeg2000 image file format parser as implemented in the OpenJpeg library. A specially crafted jpeg2000 file can cause an out of bound heap write resulting in heap corruption leading to arbitrary code execution. For a successful attack, the target user needs to open a malicious jpeg2000 file. The jpeg2000 image file format is mostly used for embedding images inside PDF documents and the OpenJpeg library is used by a number of popular PDF renderers making PDF documents a likely attack vector.",
    "evidence": "osv:CVE-2016-8332",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-8332",
      "aliases": [
        "CVE-2016-8332"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/uclouvain/openjpeg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "53f25200ed696cf5dc71d5fe12faad2570861b20"
                },
                {
                  "last_affected": "53f25200ed696cf5dc71d5fe12faad2570861b20"
                },
                {
                  "fixed": "1f1e968269bbd7eaade7955892a6d8c281b91df2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:uclouvain:openjpeg:2.1.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.1"
                      },
                      {
                        "last_affected": "2.1.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1f1e968269bbd7eaade7955892a6d8c281b91df2"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.1.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1.1",
            "v2.1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8332.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:53.507450234Z",
      "provider": "osv",
      "references": [
        "https://www.oracle.com/security-alerts/cpujul2020.html",
        "https://github.com/uclouvain/openjpeg/releases/tag/v2.1.2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-8332",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380399,
  "published_at": "2016-10-28T14:59:00.167+00:00"
}