CVE-2021-29464
published 2021-04-30CVE-2021-29464: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in…
PriorityP339high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.50%
71.4th percentile
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. 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 `insert`. The bug is fixed in version v0.27.4.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | exiv2 | < exiv2 0.27.5-1 (bookworm) | exiv2 0.27.5-1 (bookworm) |
| exiv2 | exiv2 | < 0.27.4 | 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.9 | 0.25-3.1ubuntu0.18.04.9 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8ubuntu2.4 | 0.27.2-8ubuntu2.4 |
| exiv2 | exiv2 | >= 0 < 0.25-2.1ubuntu16.04.7+esm2 | 0.25-2.1ubuntu16.04.7+esm2 |
| 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.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_msrc7.8HIGH
vendor_debian3.3LOW
vendor_redhat3.3LOW
vendor_ubuntu3.3LOW
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.
OSV
exiv2 vulnerabilities
osv·2021-05-25·CVSS 5.5
CVE-2021-29463 [MEDIUM] exiv2 vulnerabilities
exiv2 vulnerabilities
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 20.10 and Ubuntu 21.04.
(CVE-2021-29463)
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to execute arbitrary code.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 20.10 and Ubuntu 21.04.
(CVE-2021-29464)
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-29473, CVE-2021-32617)
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to expose sensitive information.
This issue only
OSV
CVE-2021-29464: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files
osv·2021-04-30·CVSS 7.8
CVE-2021-29464 [HIGH] CVE-2021-29464: 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. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. 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 `insert`. The bug is fixed in version v0.27.4.
Ubuntu
Exiv2 vulnerabilities
vendor_ubuntu·2021-05-25·CVSS 3.3
CVE-2021-29464 [LOW] Exiv2 vulnerabilities
Title: Exiv2 vulnerabilities
Summary: Several security issues were fixed in Exiv2.
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 20.10 and Ubuntu 21.04.
(CVE-2021-29463)
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to execute arbitrary code.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 20.10 and Ubuntu 21.04.
(CVE-2021-29464)
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-29473, CVE-2021-32617)
It was discovered that Exiv2 incorrectly handled certain files.
An attacker could possibly u
Red Hat
exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header
vendor_redhat·2021-05-01·CVSS 3.3
CVE-2021-29464 [LOW] CWE-120 exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header
exiv2: Heap-based buffer overflow in Exiv2::Jp2Image::encodeJp2Header
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. 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 `insert`. The bug is
Microsoft
Heap buffer overflow in Exiv2::Jp2Image::encodeJp2Header
vendor_msrc·2021-04-13·CVSS 7.8
CVE-2021-29464 [LOW] CWE-787 Heap buffer overflow in Exiv2::Jp2Image::encodeJp2Header
Heap buffer overflow in Exiv2::Jp2Image::encodeJp2Header
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:
Debian
CVE-2021-29464: exiv2 - Exiv2 is a command-line utility and C++ library for reading, writing, deleting, ...
vendor_debian·2021·CVSS 3.3
CVE-2021-29464 [LOW] CVE-2021-29464: 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. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. 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 `insert`. The bug is fixed in version v0.27.4.
Scope: local
bookworm: resolved (fixed in 0.2
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/Exiv2/exiv2/commit/f9308839198aca5e68a65194f151a1de92398f54https://github.com/Exiv2/exiv2/security/advisories/GHSA-jgm9-5fw5-pw9phttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K3HKXR6JOVKMBE4HY4FDXNVZGNCQG6T3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDMZTVQAZSMLPTDVDYLBHAAF7I5QXVYQ/https://security.gentoo.org/glsa/202312-06https://github.com/Exiv2/exiv2/commit/f9308839198aca5e68a65194f151a1de92398f54https://github.com/Exiv2/exiv2/security/advisories/GHSA-jgm9-5fw5-pw9phttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K3HKXR6JOVKMBE4HY4FDXNVZGNCQG6T3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NDMZTVQAZSMLPTDVDYLBHAAF7I5QXVYQ/https://security.gentoo.org/glsa/202312-06
2021-04-30
Published