CVE-2021-32617: exiv2 Uncontrolled Resource Consumption
Vulnerability summary
CVE-2021-32617 is a medium (CVSS 5.5) Uncontrolled Resource Consumption vulnerability in exiv2. EPSS estimates a 1.17% chance of exploitation in the next 30 days, higher than 67% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 5Timeline
- 17-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An inefficient algorithm (quadratic complexity) was found in Exiv2 versions v0.27.3 and earlier. The inefficient algorithm is triggered when Exiv2 is used to write metadata into 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.4. Note that this bug is only triggered when _writing_ the metadata, which is a less frequently used Exiv2 operation than _reading_ the metadata. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as `rm`.
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA4.7MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.17%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.17% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- exiv2< 0.27.5-1
Exiv21 product
- exiv2≤ 0.27.3 | < 0.27.4
Fedoraproject1 product
- fedoraEOL33 | 34
Ubuntu1 product
- exiv2< 0.25-2.1ubuntu16.04.7+esm2 | < 0.25-3.1ubuntu0.18.04.9 | < 0.27.2-8ubuntu2.4
4 vendors · 4 products
References
12 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- security.gentoo.org/glsa/202312-06Vendor Advisory