CVE-2026-27631CWE-248

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

Low · published March 2, 2026

CVSS v4.0
2.7
EPSS
0%
Percentile
36.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.7 · LOW
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
EPSS
0.00430 · 36.2th percentile
Weakness
CWE-248 · Uncaught Exception
Published
2026-03-02T19:40Z
EPSS history
Timeline
  • 02 MAR 19:40Z
    Exiv2: Uncaught exception - cannot create std::vector larger than max_size()
    cvelistv5