VDB
CVE-2021-29338
CVE-2021-29338
PUBLISHED
CVSS 5.5 MEDIUM
Reported by mitre · Published April 14, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openjpeg2-devel-docs | Amazon Linux | 2.4.0-11.amzn2023.0.3, 2.4.0-4.amzn2 |
| openjpeg2 | Arch Linux | 2.5.0-1 |
| openjpeg2 | Ubuntu:22.04:LTS | 2.4.0-6ubuntu0.2 |
| openjpeg2 | Ubuntu:Pro:18.04:LTS | 2.3.0-2+deb10u2ubuntu0.1~esm3 |
Risk scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | openjpeg2-devel-docs | 0 |
| amazon:2023 | openjpeg2-devel-docs | 0 |
| arch | openjpeg2 | 0 |
| n/a | n/a | * |
| amazon:2 | openjpeg2-devel | 0 |
| alpine | openjpeg | 0 |
| ConanCenter | openjpeg | 2.4.0 |
| amazon:2023 | openjpeg2-devel | 0 |
| amazon:2023 | openjpeg2-tools | 0 |
| amazon:2 | openjpeg2 | 0 |
| amazon:2 | openjpeg2-tools | 0 |
| amazon:2023 | openjpeg2 | 0 |
Timeline
- Apr 14, 2021 CVE Published
- Apr 15, 2021 EPSS Score (30 in total, the first dated here)
- Jan 20, 2026 CVE Updated
- Mar 7, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 7, 2026 Security Advisory (4 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29338
vulnetix vdb fixes CVE-2021-29338
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29338/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- FEDORA-2021-c1ac2ee5ee vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-e145f477df vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20220410 [SECURITY] [DLA 2975-1] openjpeg2 security update mailing-listx_refsource_MLIST
- GLSA-202209-04 vendor-advisoryx_refsource_GENTOO
- https://nvd.nist.gov/vuln/detail/CVE-2021-29338 advisory
- https://lists.debian.org/debian-lts-announce/2025/04/msg00002.html url