---
title: "CVE-2021-37620\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2021-37620?format=md
keywords: index, follow
---

# CVE-2021-37620

Publication date 9 August 2021

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2021-37620?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2021-37620?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| exiv2 | 22.04 LTS jammy | Fixed 0.27.3-3ubuntu4 |
| 21.10 impish | Fixed 0.27.3-3ubuntu4.1 |
| 21.04 hirsute | Fixed 0.27.3-3ubuntu1.6 |
| 20.04 LTS focal | Fixed 0.27.2-8ubuntu2.7 |
| 18.04 LTS bionic | Fixed 0.25-3.1ubuntu0.18.04.11 |
| 16.04 LTS xenial | Fixed 0.25-2.1ubuntu16.04.7+esm4  Ubuntu Pro |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2021-37620?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [leosilva](https://launchpad.net/~leosilva)

a regression was reported in (LP: #1941752) and fixed in
USN-5043-2. It only affected focal, hirsute, impish and jammy.

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| exiv2 | * Upstream:   <https://github.com/Exiv2/exiv2/pull/1769/commits/004f2a2447c3d5d1d178fb5d9e961a1b4c26dc98> * Upstream:   <https://github.com/Exiv2/exiv2/pull/1769/commits/2e7bb581a234bfb0d0c9e16a1dbf037a8c30681e> * Upstream:   <https://github.com/Exiv2/exiv2/pull/1769/commits/76e313745e813f80e8910aceb2210af3ad8cf897> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37620)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-37620)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2021-37620)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2021-37620)

### Related Ubuntu Security Notices (USN)

+ [USN-5043-1](https://usn.ubuntu.com/USN-5043-1)
+ Exiv2 vulnerabilities
+ 17 August 2021

+ [USN-5043-2](https://usn.ubuntu.com/USN-5043-2)
+ Exiv2 regression
+ 11 January 2022

### Other references

* <https://github.com/Exiv2/exiv2/pull/1769>
* <https://github.com/Exiv2/exiv2/security/advisories/GHSA-v5g7-46xf-h728>
* <https://www.cve.org/CVERecord?id=CVE-2021-37620>
