CVEfocus › CVE database › CVE-2025-54080

CVE-2025-54080Exiv2 Segmentation Faults in Exiv2::EpsImage::writeMetadata() via crafted EPS file

CVSS 1.8 LowEPSS 0.2% (higher than 7% 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. An out-of-bounds read was found in Exiv2 versions 0.28.5 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. The bug is fixed in version 0.28.6.

CWE-125

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: 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

7Fixed
19Fix pending
9Will 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.10exiv2Fixed0.28.5+dfsg-1ubuntu0.1UBUNTU-CVE-2025-54080
Ubuntu 24.04exiv2Fixed0.27.6-1ubuntu0.1UBUNTU-CVE-2025-54080
Ubuntu 22.04exiv2Fixed0.27.5-3ubuntu1.1UBUNTU-CVE-2025-54080
Ubuntu 20.04exiv2Fix pending0.27.2-8ubuntu2.7+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-54080
Ubuntu 18.04exiv2Fix pending0.25-3.1ubuntu0.18.04.11+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-54080
Ubuntu 16.04exiv2Fix pending0.25-2.1ubuntu16.04.7+esm5 (Ubuntu Pro)UBUNTU-CVE-2025-54080
Debian 14exiv2Fixed0.28.7+dfsg-2DEBIAN-CVE-2025-54080
Debian 13exiv2Fix pendingDEBIAN-CVE-2025-54080
Debian 12exiv2Fix pendingDEBIAN-CVE-2025-54080
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-54080
Alpine Linux 3.23exiv2Fixed0.28.6-r0ALPINE-CVE-2025-54080
Alpine Linux 3.22exiv2Fixed0.28.6-r0ALPINE-CVE-2025-54080
PyPI libraryexiv2Fix pendingPYSEC-2026-1354

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.