CVE-2025-55304
MEDIUM5.5EPSS 0.01%Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata
Published: 8/29/2025Modified: 4/28/2026
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 packages (2)
- Debian/exiv2from 0
- PyPI/exiv2from 0, <= 0.17.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-55304
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-55304
- PATCHhttps://github.com/Exiv2/exiv2
- WEBhttps://github.com/Exiv2/exiv2/issues/3333
- WEBhttps://github.com/Exiv2/exiv2/pull/3335
- WEBhttps://github.com/Exiv2/exiv2/pull/3345
- WEBhttps://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g