Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.7

Exiv2 crashes with huge image metadata

CVE-2026-27631
Summary

Exiv2, a tool for editing image metadata, can crash if used with a specific command-line argument and a large image. This only happens when a user tries to create a preview of an image that is too large. To fix this issue, update to Exiv2 version 0.28.8 or later.

What to do

No fix is available yet. Check with your software vendor for updates.

Affected software
VendorProductAffected versionsFix available
exiv2 exiv2 <= 0.28.8 –
Original title
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an uncaught exception was found in Exiv2. The vu...
Original description
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an uncaught exception was found in Exiv2. The vulnerability is in the preview component, which is only triggered when running Exiv2 with an extra command line argument, like -pp. Due to an integer overflow, the code attempts to create a huge std::vector, which causes Exiv2 to crash with an uncaught exception. This issue has been patched in version 0.28.8.
nvd CVSS3.1 5.3
nvd CVSS4.0 2.7
Vulnerability type
CWE-248
Published: 2 Mar 2026 · Updated: 13 Mar 2026 · First seen: 6 Mar 2026