What’s Vulnerable › Vulnerabilities
CVE-2026-27631: Exiv2: Uncaught exception - cannot create std::vector larger than max_size()
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-02 · updated 2026-06-17
- Weakness: CWE-248
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.
Affected products
- exiv2: through 0.28.8
References
- https://github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69df
- https://github.com/Exiv2/exiv2/issues/3513
- https://github.com/Exiv2/exiv2/pull/3514
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j
Get alerted when CVE-2026-27631 or the next vulnerability affects your stack