CVE-2026-27631
Exiv2: Uncaught exception - cannot create std::vector larger than max_size()
- State
- Published
- Severity
- 2.7 Low
- Published
- Mar 2, 2026
- Updated
- Mar 2, 2026
- Reserved
- Feb 20, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.7 Low | 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 | GitHub_M |
Weaknesses
- CWE-248 Uncaught Exception
Affected Products
| Product | Versions |
|---|---|
exiv2Exiv2 |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.