Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-37621

exiv2: DoS due to infinite loop in Image::printIFDStructure

Overview

Published
9 Aug 2021
Modified
17 Jun 2026
Medium CVE
1 Registry packages
12 OS packages
7 Linux distributions
Yes Fix available

Description

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 print 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 printing the image ICC profile, which is a less frequently used Exiv2 operation that requires an extra command line option (-p C). The bug is fixed in version v0.27.5.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Weakness: CWE-835

Affected packages · 1

Packages affected by CVE-2021-37621
EcosystemPackageVulnerableFixed in
Julia Exiv2_jll >=0 No fix yet

Open a package to see all its vulnerabilities.

Operating systems · 20 fixes

Red Hat 3 releases · 3 packages

eol 1 affected 2
compat-exiv2-023 compat-exiv2-026 exiv2
Red Hat fixes for CVE-2021-37621
ReleasePackageFixed in
7 compat-exiv2-023 +5 eol
8 compat-exiv2-026 +4 affected
9 exiv2 +3 affected

SUSE Linux Enterprise 1 release · 2 packages

fixed 2
libexiv2-26 libexiv2-27
SUSE Linux Enterprise fixes for CVE-2021-37621
ReleasePackageFixed inAdvisory
15.4 libexiv2-26 +1 0.26-150000.6.16.1 SUSE-SU-2022:3598-1
15.4 libexiv2-27 +1 0.27.5-150400.15.4.1 SUSE-SU-2022:3889-1

alpine 4 releases · 1 package

fixed 4
exiv2
alpine fixes for CVE-2021-37621
ReleasePackageFixed in
3.22 exiv2 0.27.5-r0
3.23 exiv2 0.27.5-r0
3.24 exiv2 0.27.5-r0
edge exiv2 0.27.5-r0

debian 6 releases · 1 package

fixed 5 affected 1
exiv2
debian fixes for CVE-2021-37621
ReleasePackageFixed in
10 exiv2 0.25-4+deb10u4
11 exiv2 0.27.3-3+deb11u2
12 exiv2 0.27.5-1
13 exiv2 0.27.5-1
14 exiv2 0.27.5-1
9 exiv2 affected

echo 1 release · 1 package

fixed 1
exiv2
echo fixes for CVE-2021-37621
ReleasePackageFixed in
exiv2 0.27.5-1

openSUSE 1 release · 1 package

fixed 1
exiv2
openSUSE fixes for CVE-2021-37621
ReleasePackageFixed inAdvisory
Tumbleweed exiv2 +5 0.27.5-3.1 openSUSE-SU-2024:12381-1

ubuntu 3 releases · 1 package

fixed 3
exiv2
ubuntu fixes for CVE-2021-37621
ReleasePackageFixed in
20.04 exiv2 0.27.2-8ubuntu2.6
20.04-ESM exiv2 0.27.2-8ubuntu2.6
22.04 exiv2 0.27.3-3ubuntu4

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.