CVE-2016-10504 Memory corruption in n/a

Medium 6.5 Published Updated

Remote attackers can cause a denial of service via a crafted BMP file due to a heap-based buffer overflow in OpenJPEG.

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-2016-10504?

CVE-2016-10504 is a medium-severity memory corruption vulnerability in Uclouvain Openjpeg, published on 30 Aug 2017. 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

Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.

Weakness: CWE-119

Which versions are affected by CVE-2016-10504?

It affects 1 product.

Products include Uclouvain Openjpeg.

How do I fix CVE-2016-10504?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-10504 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Uclouvain Openjpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-10504, GHSA-9658-9wm2-ghj4, UBUNTU-CVE-2016-10504.

Is CVE-2016-10504 in your software?

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

Check your SBOMs for free