CVE-2020-27824 Memory corruption in openjpeg

Medium 5.5 Published Updated

An attacker can cause a buffer overflow in OpenJPEG's encoder via crafted input, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-27824?

CVE-2020-27824 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 13 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in OpenJPEG’s encoder in the opj_dwt_calc_explicit_stepsizes() function. This flaw allows an attacker who can supply crafted input to decomposition levels to cause a buffer overflow. The highest threat from this vulnerability is to system availability.

Weakness: CWE-125, CWE-20

Which versions are affected by CVE-2020-27824?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Uclouvain Openjpeg.

How do I fix CVE-2020-27824?

Apply the vendor's patch.

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

Is CVE-2020-27824 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-27824, AZL-45282, DEBIAN-CVE-2020-27824, GHSA-4w56-x77j-f3vc, JLSEC-2026-537, UBUNTU-CVE-2020-27824.

Is CVE-2020-27824 in your software?

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

Check your SBOMs for free