SecurityContext

CVE-2018-5785: OpenJPEG - Integer Overflow

  • Cve: CVE-2018-5785
  • Name: OpenJPEG - Integer Overflow
  • Description: In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.
  • Impact: Attackers can cause denial of service by crashing the application or system when processing crafted BMP files.
  • Remediation: Update to the latest version of OpenJPEG or apply patches addressing this vulnerability.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.02164
  • Epss percentile: 0.82698
  • Assignee: [email protected]
  • Published at: 2018-01-19T08:29:00Z
  • Age in days: 3231
  • Modified at: 2026-06-17T02:00:46Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5785
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
https://github.com/uclouvain/openjpeg/issues/1057nvd2018-01-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/uclouvain/openjpeg/issues/1057Exploit, Issue Tracking, Third Party Advisory
https://usn.ubuntu.com/4109-1/Third Party Advisory
https://www.debian.org/security/2019/dsa-4405Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
uclouvain:openjpeg= 2.3.0/v1/products/uclouvain/openjpeg
debian:debian_linux= 9.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 18.04/v1/products/canonical/ubuntu_linux

Projects

RepositoryLink kindsIndexedUrl
uclouvain/openjpegissuesyes/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: 2018-01-19
  • Remote: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports