Out-of-bounds Read Affecting exiv2-doc package, versions <0:0.27.0-4.amzn2.0.7


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (17th 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 Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-EXIV2DOC-15751643
  • published23 Mar 2026
  • disclosed2 Mar 2026

Introduced: 2 Mar 2026

NewCVE-2026-27596  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 exiv2-doc 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-doc package and not the exiv2-doc 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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

CVSS Base Scores

version 3.1