# CVE-2021-37622: exiv2: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image f...

CVE-2021-37622 is fixed in 3 products on 1 platform, first by exiv2 0.25-3.1ubuntu0.18.04.11, released August 9, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-37622
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0110
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 9, 2021

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | exiv2 Ubuntu 18.04.6 LTS (bionic) | 0.25-3.1ubuntu0.18.04.11 | [exiv2 0.25-3.1ubuntu0.18.04.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-exiv2-0.25-3.1ubuntu0.18.04.11.md) | Aug 9, 2021 |
| Linux | exiv2 Ubuntu 20.04 LTS (focal) | 0.27.2-8ubuntu2.6 | [exiv2 0.27.2-8ubuntu2.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-exiv2-0.27.2-8ubuntu2.6.md) | Aug 9, 2021 |
| Linux | exiv2 Ubuntu 22.04.1 LTS (jammy) | 0.27.3-3ubuntu4 | [exiv2 0.27.3-3ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-exiv2-0.27.3-3ubuntu4.md) | Aug 9, 2021 |
| Linux | libexiv2-14 Ubuntu 18.04.6 LTS (bionic) | 0.25-3.1ubuntu0.18.04.11 | [libexiv2-14 0.25-3.1ubuntu0.18.04.11](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libexiv2-14-0.25-3.1ubuntu0.18.04.11.md) | Aug 9, 2021 |
| Linux | libexiv2-27 Ubuntu 20.04 LTS (focal) | 0.27.2-8ubuntu2.6 | [libexiv2-27 0.27.2-8ubuntu2.6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libexiv2-27-0.27.2-8ubuntu2.6.md) | Aug 9, 2021 |
| Linux | libexiv2-27 Ubuntu 22.04.1 LTS (jammy) | 0.27.3-3ubuntu4 | [libexiv2-27 0.27.3-3ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libexiv2-27-0.27.3-3ubuntu4.md) | Aug 9, 2021 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
