Vulnerability · Published May 13, 2021 · Assigned by redhat

CVE-2020-27824

Medium 5.5

In plain English

A medium-severity improper input validation 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.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.6%top 24.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8openjpeg22.4.0-4.el8ALSA-2021:4251
AlmaLinux:8openjpeg2-devel2.4.0-4.el8ALSA-2021:4251
AlmaLinux:8openjpeg2-devel-docs2.4.0-4.el8ALSA-2021:4251
AlmaLinux:8openjpeg2-tools2.4.0-4.el8ALSA-2021:4251
Alpine:v3.20openjpeg2.3.1-r6ALPINE-CVE-2020-27824
Alpine:v3.21openjpeg2.3.1-r6ALPINE-CVE-2020-27824
Alpine:v3.22openjpeg2.3.1-r6ALPINE-CVE-2020-27824
Alpine:v3.23openjpeg2.3.1-r6ALPINE-CVE-2020-27824
Alpine:v3.24openjpeg2.3.1-r6ALPINE-CVE-2020-27824
Debian:12openjpeg22.4.0-1DEBIAN-CVE-2020-27824
Debian:13openjpeg22.4.0-1DEBIAN-CVE-2020-27824
Debian:14openjpeg22.4.0-1DEBIAN-CVE-2020-27824
Rocky Linux:8openjpeg20:2.4.0-4.el8RLSA-2021:4251
Ubuntu:22.04:LTSblenderno fix listedUBUNTU-CVE-2020-27824
Ubuntu:24.04:LTSblenderno fix listedUBUNTU-CVE-2020-27824
Ubuntu:25.10blenderno fix listedUBUNTU-CVE-2020-27824
Ubuntu:26.04:LTSblenderno fix listedUBUNTU-CVE-2020-27824
Ubuntu:26.10blenderno fix listedUBUNTU-CVE-2020-27824
Ubuntu:22.04:LTSinsighttoolkit4no fix listedUBUNTU-CVE-2020-27824
Ubuntu:22.04:LTSopenjpeg22.3.1-1ubuntu5UBUNTU-CVE-2020-27824
Ubuntu:25.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-27824
Ubuntu:26.10qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2020-27824
Ubuntu:25.10texmakerno fix listedUBUNTU-CVE-2020-27824
Ubuntu:26.04:LTStexmakerno fix listedUBUNTU-CVE-2020-27824
Ubuntu:26.10texmakerno fix listedUBUNTU-CVE-2020-27824

Affected products (as reported)

VendorProductVersions
n/a openjpeg openjpeg 2.4.0

Weakness: CWE-20

References