Algorithmic Complexity Affecting exiv2-doc package, versions <0:0.27.0-4.amzn2.0.6


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st 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-AMZN2-EXIV2DOC-14423572
  • published16 Dec 2025
  • disclosed29 Aug 2025

Introduced: 29 Aug 2025

CVE-2025-55304  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 exiv2-doc to version 0:0.27.0-4.amzn2.0.6 or higher.
This issue was patched in ALAS2-2025-3086.

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. A denial-of-service was found in Exiv2 version 0.28.5: a quadratic algorithm in the ICC profile parsing code in jpegBase::readMetadata() can cause Exiv2 to run for a long time. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted jpg image file. The bug is fixed in version 0.28.6.

CVSS Base Scores

version 3.1