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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade exiv2Upgrade exiv2-docUpgrade exiv2-libsUpgrade exiv2-devel | May 4, 2022 | Apr 19, 2021 |
| Alpine Linux | — | Upgrade exiv2 | Aug 22, 2024 | Apr 19, 2021 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Apr 19, 2021 |
| Centos_linux | — | Upgrade exiv2-debugsourceUpgrade exiv2-libs-debuginfoUpgrade exiv2-debuginfoUpgrade exiv2-libsUpgrade exiv2 | Nov 10, 2021 | Apr 19, 2021 |
| Debian | — | Upgrade exiv2 | Aug 16, 2021 | Apr 19, 2021 |
| Freebsd | — | Upgrade exiv2 | Nov 4, 2022 | Jun 30, 2021 |
| Gentoo Linux | — | Upgrade media-gfx/exiv2. | Dec 27, 2023 | Apr 19, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade exiv2-libs | Oct 26, 2021 | Apr 19, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade exiv2-libs | Sep 7, 2021 | Apr 19, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade exiv2-libsUpgrade exiv2 | Jun 28, 2021 | Apr 19, 2021 |
| Redhat_linux | — | Upgrade exiv2Upgrade exiv2-docUpgrade exiv2-debugsourceUpgrade exiv2-debuginfoUpgrade exiv2-libs-debuginfoUpgrade exiv2-libsNo solution existsUpgrade exiv2-devel | Nov 10, 2021 | Apr 19, 2021 |
| Rocky_linux | — | Upgrade exiv2-debuginfoUpgrade exiv2-libs-debuginfoUpgrade exiv2Upgrade exiv2-debugsourceUpgrade exiv2-develUpgrade exiv2-libs | Mar 12, 2024 | Apr 19, 2021 |
| Suse | — | Upgrade libexiv2-develUpgrade libexiv2-12Upgrade libexiv2-xmp-staticUpgrade exiv2Upgrade exiv2-langUpgrade libexiv2-26-32bitUpgrade libexiv2-27Upgrade libexiv2-26Upgrade libexiv2-27-32bit | Nov 8, 2022 | Apr 19, 2021 |
| Ubuntu | — | Upgrade libexiv2-14Upgrade libexiv2-14 (Ubuntu Pro)Upgrade libexiv2-27 | May 11, 2021 | Apr 19, 2021 |
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