Medium severity · published Mar 2, 2026
CVE-2026-27631
Exiv2: Uncaught exception - cannot create std::vector larger than max_size()
5.3
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EX
exiv2 · Exiv2
< 0.28.8 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-27631
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-27631
Patch
https://github.com/Exiv2/exiv2/commit/659db316eef745899a778a1e0b760a971d1b69df
Issue Tracking
https://github.com/Exiv2/exiv2/issues/3513
Issue Tracking
https://github.com/Exiv2/exiv2/pull/3514
Patch
https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j
More from exiv2
9.8
CVE-2025-26623
Use After Free in Exiv2
9.8
CVE-2018-11531
Exiv2 0.26 has a heap-based buffer overflow in getData in preview.cpp
8.8
CVE-2023-44398
Out-of-bounds write in exiv2
8.8
CVE-2019-9143
An issue was discovered in Exiv2 0.27
8.8
CVE-2019-9144
An issue was discovered in Exiv2 0.27
