CVE-2018-5785 Integer overflow in n/a

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted BMP file due to an integer overflow in the OpenJPEG library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-5785?

CVE-2018-5785 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 19 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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.

Weakness: CWE-190

Which versions are affected by CVE-2018-5785?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Uclouvain Openjpeg.

How do I fix CVE-2018-5785?

Upgrade to a fixed version.

Is CVE-2018-5785 being exploited?

There is no known exploitation of CVE-2018-5785 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-5785, DEBIAN-CVE-2018-5785, GHSA-7pgc-fq24-w5rr, UBUNTU-CVE-2018-5785.

Is CVE-2018-5785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free