CVE-2026-27631
Exiv2: Uncaught exception - cannot create std::vector larger than max_size()
5.3CVSSMEDIUM
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 Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:LIntegrityLow
A:NAvailabilityNone
Weaknesses
Affected Products
Exploitability
Official Patch Available
References
https://github.com/Exiv2/exiv2/security/advisories/GHSA-p2pw-7935-c73j
github.com
https://github.com/Exiv2/exiv2/issues/3513
github.com
https://github.com/Exiv2/exiv2/pull/3514
github.com
and 1 more references View all →
Timeline
Published
Mar 2, 2026
Last Updated
Mar 5, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-27631 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows