SecurityContext

CVE-2016-8332: OpenJPEG - Buffer Overflow

  • Cve: CVE-2016-8332
  • Name: OpenJPEG - Buffer Overflow
  • Description: 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.
  • Impact: Attackers can execute arbitrary code on the target system by exploiting this buffer overflow via malicious jpeg2000 images.
  • Remediation: Update to the latest version of OpenJPEG that addresses this vulnerability or apply patches provided by the vendor.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs the target user to open a malicious jpeg2000 file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.02563
  • Epss percentile: 0.85514
  • Assignee: [email protected]
  • Published at: 2016-10-28T14:59:00Z
  • Age in days: 3679
  • Modified at: 2026-06-17T00:54:10Z
  • Public exploits total: 1
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-8332
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
http://www.talosintelligence.com/reports/TALOS-2016-0193/nvd2016-10-28

References

Same in every row:

  • Source: nvd
UrlTags
http://www.talosintelligence.com/reports/TALOS-2016-0193/Exploit, Third Party Advisory
https://github.com/uclouvain/openjpeg/releases/tag/v2.1.2Release Notes, Third Party Advisory
http://www.debian.org/security/2017/dsa-3768
http://www.securityfocus.com/bid/93242
http://www.securitytracker.com/id/1038623
https://www.oracle.com/security-alerts/cpujul2020.html

Products

ProductAffectedPlatform boundSourcesUrl
uclouvain:openjpeg= 2.1.1nonvd/v1/products/uclouvain/openjpeg

Projects

RepositoryLink kindsIndexedUrl
uclouvain/openjpegreleasesyes/v1/repositories/uclouvain/openjpeg

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2016-10-28
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts