Vulnerability · Published Apr 14, 2021 · Assigned by mitre
CVE-2021-29338
Medium 5.5
In plain English
A medium-severity security flaw in the openjpeg2 package (AlmaLinux). 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 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.6%top 24.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | openjpeg2 | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux:8 | openjpeg2-devel | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux:8 | openjpeg2-devel-docs | 2.4.0-4.el8 | ALSA-2021:4251 |
| AlmaLinux:8 | openjpeg2-tools | 2.4.0-4.el8 | ALSA-2021:4251 |
| Alpine:v3.20 | openjpeg | 2.4.0-r1 | ALPINE-CVE-2021-29338 |
| Alpine:v3.21 | openjpeg | 2.4.0-r1 | ALPINE-CVE-2021-29338 |
| Alpine:v3.22 | openjpeg | 2.4.0-r1 | ALPINE-CVE-2021-29338 |
| Alpine:v3.23 | openjpeg | 2.4.0-r1 | ALPINE-CVE-2021-29338 |
| Alpine:v3.24 | openjpeg | 2.4.0-r1 | ALPINE-CVE-2021-29338 |
| Debian:12 | openjpeg2 | 2.4.0-4 | DEBIAN-CVE-2021-29338 |
| Debian:13 | openjpeg2 | 2.4.0-4 | DEBIAN-CVE-2021-29338 |
| Debian:14 | openjpeg2 | 2.4.0-4 | DEBIAN-CVE-2021-29338 |
| Rocky Linux:8 | openjpeg2 | 0:2.4.0-4.el8 | RLSA-2021:4251 |
| Ubuntu:22.04:LTS | blender | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:24.04:LTS | blender | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:25.10 | blender | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:26.04:LTS | blender | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:26.10 | blender | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:22.04:LTS | insighttoolkit4 | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | UBUNTU-CVE-2021-29338 |
| Ubuntu:22.04:LTS | openjpeg2 | 2.4.0-6ubuntu0.2 | USN-7083-1 |
| Ubuntu:24.04:LTS | openjpeg2 | 2.5.0-2ubuntu0.2 | USN-7083-1 |
| Ubuntu:25.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:26.10 | qtwebengine-opensource-src | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:25.10 | texmaker | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:26.04:LTS | texmaker | no fix listed | UBUNTU-CVE-2021-29338 |
| Ubuntu:26.10 | texmaker | no fix listed | UBUNTU-CVE-2021-29338 |
Affected products (as reported)
References
- https://github.com/uclouvain/openjpeg/issues/1338 x_refsource_MISC
- FEDORA-2021-c1ac2ee5ee vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-e145f477df vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update mailing-list, x_refsource_MLIST
- GLSA-202209-04 vendor-advisory, x_refsource_GENTOO
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html