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.
CVSS Details
- CVSS 3.1 Base Score: 3.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade exiv2-libsUpgrade exiv2-docUpgrade exiv2-develUpgrade exiv2 | May 4, 2022 | Apr 30, 2021 |
| Alpine Linux | — | Upgrade exiv2 | Aug 22, 2024 | Apr 30, 2021 |
| Amazon Linux Ami 2 | — | Upgrade exiv2-develUpgrade exiv2-docUpgrade exiv2-libsUpgrade exiv2-debuginfoUpgrade exiv2 | Aug 24, 2023 | Apr 30, 2021 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Apr 30, 2021 |
| Centos_linux | — | Upgrade exiv2Upgrade exiv2-libsUpgrade exiv2-debuginfoUpgrade exiv2-debugsourceUpgrade exiv2-libs-debuginfo | Nov 10, 2021 | Apr 30, 2021 |
| Debian | — | Upgrade exiv2 | Jul 30, 2024 | Apr 30, 2021 |
| Freebsd | — | Upgrade exiv2 | Nov 4, 2022 | Jun 30, 2021 |
| Gentoo Linux | — | Upgrade media-gfx/exiv2. | Dec 27, 2023 | Apr 30, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade exiv2-libs | Sep 7, 2021 | Apr 30, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade exiv2Upgrade exiv2-libs | Aug 10, 2021 | Apr 30, 2021 |
| Redhat_linux | — | Upgrade exiv2-libs-debuginfoNo solution existsUpgrade exiv2Upgrade exiv2-develUpgrade exiv2-debuginfoUpgrade exiv2-libsUpgrade exiv2-docUpgrade exiv2-debugsource | Nov 10, 2021 | Apr 30, 2021 |
| Rocky_linux | — | Upgrade exiv2-debugsourceUpgrade exiv2-develUpgrade exiv2-libsUpgrade exiv2-debuginfoUpgrade exiv2-libs-debuginfoUpgrade exiv2 | Mar 12, 2024 | Apr 30, 2021 |
| Ubuntu | — | Upgrade exiv2Upgrade libexiv2-27Upgrade exiv2 (Ubuntu Pro)Upgrade libexiv2-14Upgrade libexiv2-14 (Ubuntu Pro) | May 26, 2021 | Apr 30, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub