Integer overflow in Uclouvain Openjpeg

CVE-2018-5785

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.

Vulnerability class: Integer Overflow

EPSS: 0.023 (81.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)

Frequently asked questions

What is CVE-2018-5785?
CVE-2018-5785 is a medium-severity vulnerability in Uclouvain Openjpeg, classified under Integer Overflow or Wraparound. CVSS score: 6.5/10. Published 2018-01-19.
How severe is CVE-2018-5785?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2018-5785 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.