Integer overflow in Uclouvain Openjpeg
CVE-2021-29338
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 75.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Uclouvain Openjpeg — versions 2.4.0
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 33, 34
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, MiniMangosteen/MiniMangosteen, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/uclouvain/openjpeg/issues/1338 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- FEDORA-2021-c1ac2ee5ee (vendor-advisory)
- FEDORA-2021-e145f477df (vendor-advisory)
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202209-04 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/04/msg00002.html