CVE-2021-37623
Denial of service due to infinite loop in JpegBase::printStructure (#2)
Reported by github_m · Published August 9, 2021
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when deleting the IPTC data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-d I rm`). The bug is fixed in version v0.27.5.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| exiv2 | Arch Linux | 0.27.5-1 |
| exiv2 | exiv2 | 0.27.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Exiv2 | exiv2 | <= 0.27.4 |
| arch | exiv2 | 0 |
| Exiv2 | exiv2 | 0 |
| alpine | exiv2 | 0 |
Timeline
- Aug 9, 2021 CVE Published
- Aug 10, 2021 EPSS Score (30 in total, the first dated here)
- Aug 4, 2024 CVE Updated
- Mar 10, 2026 Security Advisory
- Jul 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-37623
vulnetix vdb fixes CVE-2021-37623
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-37623/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-399f869889 vendor-advisory
- FEDORA-2021-cbaef8e2d5 vendor-advisory
- GLSA-202312-06 vendor-advisory