CVE-2021-37620
Out-of-bounds read in XmpTextValue::read()
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 out-of-bounds read was found in Exiv2 versions v0.27.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to read 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. 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 | Alpine | 0.27.5-r0 |
| exiv2 | exiv2 | 0.27.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Exiv2 | exiv2 | <= 0.27.4 |
| alpine | exiv2 | 0 |
| Exiv2 | exiv2 | 0 |
| arch | 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-37620
vulnetix vdb fixes CVE-2021-37620
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-37620/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
- [debian-lts-announce] 20230110 [SECURITY] [DLA 3265-1] exiv2 security update mailing-list
- GLSA-202312-06 vendor-advisory