Algorithmic Complexity Affecting exiv2 package, versions <0.28.6-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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-ALPINE322-EXIV2-12253064
  • published30 Aug 2025
  • disclosed29 Aug 2025

Introduced: 29 Aug 2025

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

How to fix?

Upgrade Alpine:3.22 exiv2 to version 0.28.6-r0 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 Alpine. See How to fix? for Alpine:3.22 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