Vulnerability in Exiv2
CVE-2026-27631
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 22.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Exiv2 — versions < 0.28.8
Weakness classification (CWE)
References
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j (Patch, Vendor Advisory)
- https://github.com/Exiv2/exiv2/issues/3513 (Issue Tracking)
- https://github.com/Exiv2/exiv2/pull/3514 (Patch, Issue Tracking)
- https://github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69df (Patch)