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

Published Mar 2, 2026
·
Updated

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 Software

2 affected components
exiv2 exiv2<0.28.8
exiv2 exiv2<=0.28.8

Event History

Mar 2, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 18, 58147
Event
via FIRST·08:59 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-27631?

CVE-2026-27631 has a moderate severity level due to the potential for application crashes when handling large image metadata.

2

How do I fix CVE-2026-27631?

To fix CVE-2026-27631, update Exiv2 to version 0.28.8 or later.

3

What causes CVE-2026-27631?

CVE-2026-27631 is caused by an uncaught exception when trying to create a std::vector larger than its maximum allowable size in Exiv2.

4

Which versions of Exiv2 are affected by CVE-2026-27631?

CVE-2026-27631 affects Exiv2 versions prior to 0.28.8.

5

Is CVE-2026-27631 exploitable in production environments?

Yes, CVE-2026-27631 could be exploited in production environments leading to application instability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203