Skip to main content
← All vulnerabilities
CVE-2026-27631

Exiv2: Uncaught exception - cannot create std::vector larger than max_size()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.28.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Exiv2 exiv2

    fixed in 0.28.8

References 4

GitHub · Exiv2/exiv2