CVE-2021-37620
published 2021-08-09CVE-2021-37620: 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…
PriorityP419medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.05%
60.5th percentile
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.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | exiv2 | < exiv2 0.27.5-1 (bookworm) | exiv2 0.27.5-1 (bookworm) |
| exiv2 | exiv2 | < 0.27.5 | 0.27.5 |
| exiv2 | exiv2 | <= 0.27.4 | — |
| exiv2 | exiv2 | >= 0 < 0.27.3-3+deb11u2 | 0.27.3-3+deb11u2 |
| exiv2 | exiv2 | >= 0 < 0.27.5-1 | 0.27.5-1 |
| exiv2 | exiv2 | >= 0 < 0.27.5-1 | 0.27.5-1 |
| exiv2 | exiv2 | >= 0 < 0.27.5-1 | 0.27.5-1 |
| exiv2 | exiv2 | >= 0 < 0.25-3.1ubuntu0.18.04.11 | 0.25-3.1ubuntu0.18.04.11 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8ubuntu2.6 | 0.27.2-8ubuntu2.6 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8ubuntu2.7 | 0.27.2-8ubuntu2.7 |
| exiv2 | exiv2 | >= 0 < 0.25-2.1ubuntu16.04.7+esm4 | 0.25-2.1ubuntu16.04.7+esm4 |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_exiv2_0.27.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_ubuntu5.5MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Exiv2 regression
vendor_ubuntu·2022-01-11·CVSS 4.7
CVE-2021-37620 [MEDIUM] Exiv2 regression
Title: Exiv2 regression
Summary: USN-5043-1 introduced a regression in Exiv2.
USN-5043-1 fixed vulnerabilities in Exiv2. The update introduced a new regression
that could cause a crash in applications using libexiv2. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-37620)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Exiv2 vulnerabilities
vendor_ubuntu·2021-08-17·CVSS 5.5
CVE-2021-37622 [MEDIUM] Exiv2 vulnerabilities
Title: Exiv2 vulnerabilities
Summary: Several security issues were fixed in Exiv2.
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
These issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04.
(CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618,
CVE-2021-37619, CVE-2021-37621, CVE-2021-37623)
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
Out-of-bounds read in XmpTextValue::read()
vendor_msrc·2021-08-10·CVSS 5.5
CVE-2021-37620 [MEDIUM] CWE-125 Out-of-bounds read in XmpTextValue::read()
Out-of-bounds read in XmpTextValue::read()
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.micros
Red Hat
exiv2: out-of-bounds read in XmpTextValue::read()
vendor_redhat·2021-08-08·CVSS 4.7
CVE-2021-37620 [MEDIUM] CWE-125 exiv2: out-of-bounds read in XmpTextValue::read()
exiv2: out-of-bounds read in XmpTextValue::read()
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.
Package: exiv2 (Red Hat Enterprise Linux 6) - Out of support scope
Package: compat-exiv2-023 (Red Hat Enterprise Linux 7) - Out of support scope
Package: compat-exiv2-026 (Red Hat Enterprise Linux 7) - Out of support scope
Package: exiv2 (Red Hat Enterpr
Debian
CVE-2021-37620: exiv2 - Exiv2 is a command-line utility and C++ library for reading, writing, deleting, ...
vendor_debian·2021·CVSS 4.7
CVE-2021-37620 [MEDIUM] CVE-2021-37620: exiv2 - Exiv2 is a command-line utility and C++ library for reading, writing, deleting, ...
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.
Scope: local
bookworm: resolved (fixed in 0.27.5-1)
bullseye: resolved (fixed in 0.27.3-3+deb11u2)
forky: resolved (fixed in 0.27.5-1)
sid: resolved (fixed in 0.27.5-1)
trixie: resolved (fixed in 0.27.5-1)
OSV
exiv2 regression
osv·2022-01-11·CVSS 5.5
CVE-2021-37620 [MEDIUM] exiv2 regression
exiv2 regression
USN-5043-1 fixed vulnerabilities in Exiv2. The update introduced a new regression
that could cause a crash in applications using libexiv2. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-37620)
OSV
exiv2 vulnerabilities
osv·2021-08-17·CVSS 5.5
CVE-2021-32815 [MEDIUM] exiv2 vulnerabilities
exiv2 vulnerabilities
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)
It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
These issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04.
(CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618,
CVE-2021-37619, CVE-2021-37621, CVE-2021-37623)
OSV
CVE-2021-37620: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files
osv·2021-08-09·CVSS 5.5
CVE-2021-37620 [MEDIUM] CVE-2021-37620: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/Exiv2/exiv2/pull/1769https://github.com/Exiv2/exiv2/security/advisories/GHSA-v5g7-46xf-h728https://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/https://security.gentoo.org/glsa/202312-06https://github.com/Exiv2/exiv2/pull/1769https://github.com/Exiv2/exiv2/security/advisories/GHSA-v5g7-46xf-h728https://lists.debian.org/debian-lts-announce/2023/01/msg00004.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FMDT4PJB7P43WSOM3TRQIY3J33BAFVVE/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UYGDELIFFJWKUU7SO3QATCIXCZJERGAC/https://security.gentoo.org/glsa/202312-06
2021-08-09
Published