Uncaught Exception Affecting exiv2 package, versions <0.27.2-8ubuntu2.7+esm1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.43% (36th 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 IDSNYK-UBUNTU2004-EXIV2-15370372
  • published20 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 Ubuntu:20.04 exiv2 to version 0.27.2-8ubuntu2.7+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exiv2 package and not the exiv2 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 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