Uncaught Exception Affecting exiv2-debuginfo package, versions <0:0.27.0-4.amzn2.0.7


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-EXIV2DEBUGINFO-15751567
  • published23 Mar 2026
  • disclosed2 Mar 2026

Introduced: 2 Mar 2026

CVE-2026-27631  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 exiv2-debuginfo to version 0:0.27.0-4.amzn2.0.7 or higher.
This issue was patched in ALAS2-2026-3201.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exiv2-debuginfo package and not the exiv2-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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 Base Scores

version 3.1