VDB

CVE-2021-32617

CVE-2021-32617 PUBLISHED CVSS 4.7 MEDIUM

Denial of service in Exiv2

Reported by github_m · Published May 17, 2021

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`.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
exiv2Arch Linux0.27.4-1
exiv2exiv20.27.4
exiv2Ubuntu:Pro:16.04:LTS0.25-2.1ubuntu16.04.7+esm2
exiv2Ubuntu:18.04:LTS0.25-3.1ubuntu0.18.04.9
exiv2Ubuntu:20.04:LTS0.27.2-8ubuntu2.4

Risk scores

CVSS 3.1
4.7
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Exiv2exiv2<= 0.27.3
archexiv20
Exiv2exiv20
alpineexiv20

Timeline

  • May 17, 2021 CVE Published
  • May 18, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 3, 2024 CVE Updated
  • Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32617
vulnetix vdb fixes CVE-2021-32617

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-32617/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›