HOMEVULNERABILITIESCVE-2018-5785
MEDIUM

CVE-2018-5785

CWE-190Published: January 19, 2018· Updated: Jun 17, 2026

6.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2018-5785 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 6.5.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Vendors & Products

Canonical1 product(s)
ubuntu linux
Debian1 product(s)
debian linux
uclouvain1 product(s)
openjpeg
Source: NVD CPE · 3 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (6)

https://github.com/uclouvain/openjpeg/issues/1057Exploit · Issue Tracking · Third Party Advisory
https://usn.ubuntu.com/4109-1/Third Party Advisory
https://github.com/uclouvain/openjpeg/issues/1057Exploit · Issue Tracking · Third Party Advisory
https://usn.ubuntu.com/4109-1/Third Party Advisory

Quick Facts

CVE IDCVE-2018-5785
CVSS Score6.5 / 10
SeverityMEDIUM
WeaknessCWE-190
CISA KEVNo
Affected3 vendor(s)
PublishedJan 19, 2018

Related CVEs (CWE-190)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2018-5785 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.