Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Exiv2 | Exiv2 | <= 0.28.8 |
Related Weaknesses (CWE)
References
- https://github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69dfPatch
- https://github.com/Exiv2/exiv2/issues/3513Issue Tracking
- https://github.com/Exiv2/exiv2/pull/3514Issue TrackingPatch
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73jPatchVendor Advisory
FAQ
What is CVE-2026-27631?
CVE-2026-27631 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 vulne...
How severe is CVE-2026-27631?
CVE-2026-27631 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-27631?
Check the references section above for vendor advisories and patch information. Affected products include: Exiv2 Exiv2.