Vulnerability · Published Jan 5, 2021 · Assigned by redhat

CVE-2020-27841

Medium 5.5

In plain English

A medium-severity heap buffer overflow in openjpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.5%top 26.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12openjpeg22.4.0-1DEBIAN-CVE-2020-27841
Debian:13openjpeg22.4.0-1DEBIAN-CVE-2020-27841
Debian:14openjpeg22.4.0-1DEBIAN-CVE-2020-27841
Ubuntu:22.04:LTSopenjpeg22.3.1-1ubuntu5UBUNTU-CVE-2020-27841
Ubuntu:25.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-27841
Ubuntu:26.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-27841

Affected products (as reported)

VendorProductVersions
n/a openjpeg openjpeg 2.4.0

Weakness: CWE-122

References