What’s Vulnerable › Vulnerabilities
CVE-2025-55304: Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-08-29 · updated 2026-10-19
- Weakness: CWE-407
Description
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.
Affected products
- exiv2: before 0.28.6 — fixed in 0.28.6
How to fix
Upgrade to a fixed version: exiv2 0.28.6. Check the vendor advisory for mitigations.
References
- https://github.com/Exiv2/exiv2/issues/3333
- https://github.com/Exiv2/exiv2/pull/3335
- https://github.com/Exiv2/exiv2/pull/3345
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g
Get alerted when CVE-2025-55304 or the next vulnerability affects your stack