Vulnerability · Published Aug 29, 2025 · Assigned by GitHub_M

CVE-2025-55304Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata

Low 1.8

In plain English

A low-severity security flaw in exiv2 from Exiv2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)1.8Low
Exploit odds (30 days)0.3%top 83.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22exiv20.28.6-r0ALPINE-CVE-2025-55304
Alpine:v3.23exiv20.28.6-r0ALPINE-CVE-2025-55304
Alpine:v3.24exiv20.28.6-r0ALPINE-CVE-2025-55304
Debian:12exiv2no fix listedDEBIAN-CVE-2025-55304
Debian:13exiv2no fix listedDEBIAN-CVE-2025-55304
Debian:14exiv20.28.7+dfsg-2DEBIAN-CVE-2025-55304
PyPIexiv2no fix listedPYSEC-2026-1355
PyPIexiv2no fix listedGHSA-m54q-mm9w-fp6g
Ubuntu:22.04:LTSexiv2no fix listedUBUNTU-CVE-2025-55304
Ubuntu:22.04:LTSexiv20.27.5-3ubuntu1.3USN-8103-2
Ubuntu:24.04:LTSexiv20.27.6-1ubuntu0.3USN-8103-2
Ubuntu:24.04:LTSexiv2no fix listedUBUNTU-CVE-2025-55304
Ubuntu:25.10exiv2no fix listedUBUNTU-CVE-2025-55304
Ubuntu:25.10exiv20.28.5+dfsg-1ubuntu0.3USN-8103-2

Affected products (as reported)

VendorProductVersions
Exiv2 exiv2 < 0.28.6

Weakness: CWE-407 · Vector: 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

References