CVE-2026-27631
JSON

2.7low

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

Severity
2.7low CVSS:4.0 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
Exiv2 exiv2< 0.28.8, up to 0.28.8CVE List, NVD

All scores

GitHub_M2.7low CVSS:4.0CVSS: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
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-248

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Exiv2 es una librería de C++ y una utilidad de línea de comandos para leer, escribir, eliminar y modificar metadatos de imagen Exif, IPTC, XMP e ICC. Antes de la versión 0.28.8, se encontró una excepción no capturada en Exiv2. La vulnerabilidad está en el componente de vista previa, que solo se activa al ejecutar Exiv2 con un argumento adicional de línea de comandos, como -pp. Debido a un desbordamiento de entero, el código intenta crear un std::vector enorme, lo que provoca que Exiv2 falle con una excepción no capturada. Este problema ha sido parcheado en la versión 0.28.8.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27631 changed 2026-03-02CVE Terms of Use
NVDCVE-2026-27631 changed 2026-06-17Public domain