Medium severity · published Aug 29, 2025
CVE-2025-55304
Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata
5.5
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EX
exiv2 · Exiv2
< 0.28.6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-55304
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-55304
Exploit
https://github.com/Exiv2/exiv2/issues/3333
Patch
https://github.com/Exiv2/exiv2/pull/3335
Patch
https://github.com/Exiv2/exiv2/pull/3345
Third Party Advisory
https://github.com/Exiv2/exiv2/security/advisories/GHSA-m54q-mm9w-fp6g
More from exiv2
9.8
CVE-2025-26623
Use After Free in Exiv2
9.8
CVE-2018-11531
Exiv2 0.26 has a heap-based buffer overflow in getData in preview.cpp
8.8
CVE-2023-44398
Out-of-bounds write in exiv2
8.8
CVE-2019-9143
An issue was discovered in Exiv2 0.27
8.8
CVE-2019-9144
An issue was discovered in Exiv2 0.27
