CVEfocus › CVE database › CVE-2021-29338

CVE-2021-29338

EPSS 1.6% (higher than 76% of CVEs)Published 2021-04-14Updated 2025-11-03Assigner: mitre

Integer Overflow in OpenJPEG v2.4.0 allows remote attackers to crash the application, causing a Denial of Service (DoS). This occurs when the attacker uses the command line option "-ImgDir" on a directory that contains 1048576 files.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed
18Fix pending
26Will not fix
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10blenderFix pendingUBUNTU-CVE-2021-29338
Ubuntu 26.10qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2021-29338
Ubuntu 26.10texmakerFix pendingUBUNTU-CVE-2021-29338
Ubuntu 26.04blenderFix pendingUBUNTU-CVE-2021-29338
Ubuntu 26.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 26.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 26.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2021-29338
Ubuntu 26.04texmakerFix pendingUBUNTU-CVE-2021-29338
Ubuntu 25.10blenderWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 25.10ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 25.10openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 25.10qtwebengine-opensource-srcWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 25.10texmakerWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 24.04blenderFix pendingUBUNTU-CVE-2021-29338
Ubuntu 24.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 24.04openjpeg2Not affected
vulnerable_code_not_present
Ubuntu 24.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2021-29338
Ubuntu 24.04texmakerFix pendingUBUNTU-CVE-2021-29338
Ubuntu 22.04blenderFix pendingUBUNTU-CVE-2021-29338
Ubuntu 22.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 22.04insighttoolkit4Fix pendingUBUNTU-CVE-2021-29338
Ubuntu 22.04openjpeg2Fixed2.4.0-6ubuntu0.2UBUNTU-CVE-2021-29338
Ubuntu 22.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2021-29338
Ubuntu 22.04texmakerFix pendingUBUNTU-CVE-2021-29338
Ubuntu 20.04blenderWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 20.04insighttoolkit4Will not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 20.04openjpeg2Fixed2.3.1-1ubuntu4.20.04.3UBUNTU-CVE-2021-29338
Ubuntu 20.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2021-29338
Ubuntu 20.04texmakerFix pendingUBUNTU-CVE-2021-29338
Ubuntu 18.04blenderWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 18.04insighttoolkit4Will not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 18.04openjpeg2Fix pending2.3.0-2+deb10u2ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2021-29338
Ubuntu 18.04qtwebengine-opensource-srcFix pendingUBUNTU-CVE-2021-29338
Ubuntu 18.04texmakerFix pendingUBUNTU-CVE-2021-29338
Ubuntu 16.04blenderWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 16.04ghostscriptWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
Ubuntu 16.04insighttoolkit4Will not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 16.04openjpegNot affected
vulnerable_code_not_present
Ubuntu 16.04openjpeg2Will not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
2.1.2-1.1+deb9u6ubuntu0.1~esm6 (Ubuntu Pro)UBUNTU-CVE-2021-29338
Ubuntu 16.04texmakerWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
UBUNTU-CVE-2021-29338
Ubuntu 14.04blenderWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
Ubuntu 14.04ghostscriptWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
Ubuntu 14.04insighttoolkit4Will not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
Ubuntu 14.04openjpegNot affected
vulnerable_code_not_present
Ubuntu 14.04texmakerWill not fix
ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm2 for xenial was released to address this CVE but it was thereafter determined that the impacted code is not…
Debian 14openjpeg2Fixed2.4.0-4DEBIAN-CVE-2021-29338
Debian 13openjpeg2Fixed2.4.0-4DEBIAN-CVE-2021-29338
Debian 12openjpeg2Fixed2.4.0-4DEBIAN-CVE-2021-29338
Red Hat Enterprise Linux 9openjpeg2Not affected
Red Hat Enterprise Linux 9openjpeg2-develNot affected
Red Hat Enterprise Linux 9openjpeg2-toolsNot affected
Red Hat Enterprise Linux 8openjpeg2Fixed
Fix deferred
0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 8openjpeg2-develFixed
Fix deferred
0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 8openjpeg2-devel-docsFixed
Fix deferred
0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 8openjpeg2-toolsFixed
Fix deferred
0:2.4.0-4.el8RHSA-2021:4251
Red Hat Enterprise Linux 7openjpegWill not fix
Out of support scope
Red Hat Enterprise Linux 7openjpeg-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7openjpeg-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7openjpeg2Will not fix
Out of support scope
Red Hat Enterprise Linux 7openjpeg2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7openjpeg2-devel-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7openjpeg2-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 6openjpegWill not fix
Out of support scope
Red Hat Enterprise Linux 6openjpeg-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6openjpeg-libsWill not fix
Out of support scope
AlmaLinux 8openjpeg2Fixed2.4.0-4.el8ALSA-2021:4251
AlmaLinux 8openjpeg2-develFixed2.4.0-4.el8ALSA-2021:4251
AlmaLinux 8openjpeg2-devel-docsFixed2.4.0-4.el8ALSA-2021:4251
AlmaLinux 8openjpeg2-toolsFixed2.4.0-4.el8ALSA-2021:4251
Rocky Linux 8openjpeg2Fixed0:2.4.0-4.el8RLSA-2021:4251
Alpine Linux 3.24openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.23openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.22openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.21openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.20openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.19openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.18openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.17openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.16openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.15openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.14openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.13openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.12openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.11openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338
Alpine Linux 3.10openjpegFixed2.4.0-r1ALPINE-CVE-2021-29338

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.