CVE-2018-5785

MEDIUMCVSS 6.5/10EPSS 2.35%

Last modified

CVE-2018-5785 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 2.35% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
2.35%

81.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
UclouvainOpenjpeg2.3.0
DebianDebian Linux9.0
CanonicalUbuntu Linux18.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2018-5785?
CVE-2018-5785 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 2.35% probability of exploitation in the next 30 days.
How do I fix CVE-2018-5785?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-5785?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST