CVE-2020-27841 Memory corruption in openjpeg

Medium 5.5 Published Updated

An out-of-bounds read in OpenJPEG allows attackers to cause a denial of service via crafted input to the encoder.

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-27841?

CVE-2020-27841 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 5 Jan 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

There's a flaw in openjpeg in versions prior to 2.4.0 in src/lib/openjp2/pi.c. When an attacker is able to provide crafted input to be processed by the openjpeg encoder, this could cause an out-of-bounds read. The greatest impact from this flaw is to application availability.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2020-27841?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Oracle Outside in Technology, Uclouvain Openjpeg.

How do I fix CVE-2020-27841?

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-2020-27841 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-45006, DEBIAN-CVE-2020-27841, GHSA-7hw5-f79p-8gpg, JLSEC-2026-538, UBUNTU-CVE-2020-27841.

Is CVE-2020-27841 in your software?

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

Check your SBOMs for free