CVEfocus › CVE database › CVE-2025-55304

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

CVSS 1.8 LowEPSS 0.3% (higher than 12% of CVEs)Published 2025-08-29Updated 2025-08-29Assigner: GitHub_M

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.

CWE-407

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Debian, PyPI, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
17Fix pending
12Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04exiv2Not affected
vulnerable_code_not_present
Ubuntu 25.10exiv2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-55304
Ubuntu 24.04exiv2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-55304
Ubuntu 22.04exiv2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-55304
Ubuntu 20.04exiv2Fix pendingUBUNTU-CVE-2025-55304
Debian 14exiv2Fixed0.28.7+dfsg-2DEBIAN-CVE-2025-55304
Debian 13exiv2Fix pendingDEBIAN-CVE-2025-55304
Debian 12exiv2Fix pendingDEBIAN-CVE-2025-55304
Red Hat Enterprise Linux 10exiv2Fix pending
Fix deferred
Red Hat Enterprise Linux 10exiv2-develFix pending
Fix deferred
Red Hat Enterprise Linux 10exiv2-docFix pending
Fix deferred
Red Hat Enterprise Linux 10exiv2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9exiv2Fix pending
Fix deferred
Red Hat Enterprise Linux 9exiv2-develFix pending
Fix deferred
Red Hat Enterprise Linux 9exiv2-docFix pending
Fix deferred
Red Hat Enterprise Linux 9exiv2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8compat-exiv2-026Fix pending
Fix deferred
Red Hat Enterprise Linux 8exiv2Fix pending
Fix deferred
Red Hat Enterprise Linux 8exiv2-develFix pending
Fix deferred
Red Hat Enterprise Linux 8exiv2-docFix pending
Fix deferred
Red Hat Enterprise Linux 8exiv2-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7compat-exiv2-023Will not fix
Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-026Will not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2Will not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7exiv2-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2Will not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6exiv2-libsWill not fix
Out of support scope
Alpine Linux 3.24exiv2Fixed0.28.6-r0ALPINE-CVE-2025-55304
Alpine Linux 3.23exiv2Fixed0.28.6-r0ALPINE-CVE-2025-55304
Alpine Linux 3.22exiv2Fixed0.28.6-r0ALPINE-CVE-2025-55304
PyPI libraryexiv2Fix pendingPYSEC-2026-1355

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.