Skip to content
OpenAdvisories
Unscored Public exploit CVE-2020-27824 EUVD-2020-20324GHSA-4w56-x77j-f3vc

A flaw was found in OpenJPEG’s encoder in the opj_dwt_calc_explicit_stepsizes() function. This flaw allows an attacker who can supply craft…

Published May 13, 2021 · Updated Aug 4, 2024 · Assigned by redhat

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 products

VendorProductAffectedFixed
— openjpeg openjpeg 2.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openjpeg2 2.4.0-1 —
Debian 13 openjpeg2 2.4.0-1 —
Debian 12 openjpeg2 2.4.0-1 —
Debian 10 openjpeg2 2.3.0-2+deb10u2 DSA-4882-1
Debian 9 openjpeg2 2.1.2-1.1+deb9u6 DLA-2550-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 blender +2 No fix yet —
Ubuntu 26.04 LTS blender +1 No fix yet —
Ubuntu 25.10 blender +2 No fix yet —
Ubuntu 24.04 LTS blender No fix yet —
Ubuntu 22.04 LTS blender +1 No fix yet —
Ubuntu 22.04 LTS openjpeg2 2.3.1-1ubuntu5 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS blender +1 No fix yet —
Ubuntu 20.04 LTS openjpeg2 2.3.1-1ubuntu4.20.04.1 USN-4685-1
Ubuntu 18.04 LTS blender +1 No fix yet —
Ubuntu 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.14 USN-4686-1
Ubuntu 18.04 LTS openjpeg2 2.3.0-2+deb10u2build0.18.04.1 USN-5952-1
Ubuntu 16.04 LTS blender +2 No fix yet —
Ubuntu 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14 USN-4686-1
Ubuntu 16.04 LTS openjpeg2 2.1.2-1.1+deb9u6build0.16.04.1 USN-4880-1
Ubuntu 14.04 LTS openjpeg No fix yet —
Ubuntu Pro 26.04 LTS qtwebengine-opensource-src No fix yet —
Ubuntu Pro 24.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 22.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 20.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 18.04 LTS texmaker +1 No fix yet —
Ubuntu Pro 16.04 LTS openjpeg 1:1.5.2-3.1ubuntu0.1~esm2 USN-5664-1
Ubuntu Pro 16.04 LTS openjpeg2 2.1.2-1.1+deb9u6ubuntu0.1~esm3 USN-5952-1
ReleasePackageFixed inAdvisory
RHEL 8 openjpeg2 +3 2.4.0-4.el8 RHSA-2021:4251

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 openjpeg2 +3 2.4.0-4.el8 ALSA-2021:4251

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 openjpeg2 2.4.0-4.el8 RLSA-2021:4251
ReleasePackageFixed inAdvisory
SLES 15 SP4 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLES 15 SP4 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES 15 SP3 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLES 15 SP3 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES 15 SP2 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLES 15 SP2 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES 15 SP1 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLES 15 SP1 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES 15 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLES 15 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SLES 12 SP4 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SLES 12 SP3 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SLES 12 SP2 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SLES for SAP 15 SP2 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES for SAP 15 SP1 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES for SAP 15 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLES for SAP 15 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLES for SAP 12 SP5 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SLES for SAP 12 SP4 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SLE HPC 15 SP2 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLE HPC 15 SP2 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLE HPC 15 SP1 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SLE HPC 15 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
SLE HPC 15 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SUSE OpenStack Cloud Crowbar 9 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SUSE OpenStack Cloud 9 openjpeg2 2.1.0-4.18.2 SUSE-SU-2022:3801-1
SUSE Manager Server 4.1 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SUSE Manager Retail Branch Server 4.1 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SUSE Manager Proxy 4.1 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SUSE Enterprise Storage 7 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
SUSE Enterprise Storage 6 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
openSUSE Leap 15.4 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
openSUSE Leap 15.3 openjpeg 1.5.2-150000.4.10.1 SUSE-SU-2022:4082-1
openSUSE Leap 15.3 openjpeg2 2.3.0-150000.3.8.1 SUSE-SU-2022:3802-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openjpeg 2.3.1-r6 —
Alpine v3.23 openjpeg 2.3.1-r6 —
Alpine v3.22 openjpeg 2.3.1-r6 —
Alpine v3.21 openjpeg 2.3.1-r6 —
Alpine v3.20 openjpeg 2.3.1-r6 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openjpeg 2.3.1-r6 —
Alpine v3.18 openjpeg 2.3.1-r6 —
Alpine v3.17 openjpeg 2.3.1-r6 —
Alpine v3.16 openjpeg 2.3.1-r6 —
Alpine v3.15 openjpeg 2.3.1-r6 —
Alpine v3.14 openjpeg 2.3.1-r6 —
Alpine v3.13 openjpeg 2.3.1-r6 —
Alpine v3.12 openjpeg 2.3.1-r6 —
Alpine v3.11 openjpeg 2.3.1-r5 —
Alpine v3.10 openjpeg 2.3.1-r5 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 openjpeg2 +3 2.4.0-4.amzn2 ALAS2-2022-1741

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 openjpeg2 2.3.1-12 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 openjpeg2 +3 2.4.0-4.el8 ELSA-2021-4251

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 16

References