Vulnerability · Published Aug 29, 2025 · Assigned by GitHub_M

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

Low 1.8

In plain English

A low-severity out-of-bounds read in exiv2 from Exiv2. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)1.8Low
Exploit odds (30 days)0.1%top 96.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
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. 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22exiv20.28.6-r0ALPINE-CVE-2025-54080
Alpine:v3.23exiv20.28.6-r0ALPINE-CVE-2025-54080
Alpine:v3.24exiv20.28.6-r0ALPINE-CVE-2025-54080
Debian:12exiv2no fix listedDEBIAN-CVE-2025-54080
Debian:13exiv2no fix listedDEBIAN-CVE-2025-54080
Debian:14exiv20.28.7+dfsg-2DEBIAN-CVE-2025-54080
PyPIexiv2no fix listedGHSA-496f-x7cq-cq39
PyPIexiv2no fix listedPYSEC-2026-1354
Ubuntu:22.04:LTSexiv20.27.5-3ubuntu1.1UBUNTU-CVE-2025-54080
Ubuntu:24.04:LTSexiv20.27.6-1ubuntu0.1UBUNTU-CVE-2025-54080
Ubuntu:25.10exiv20.28.5+dfsg-1ubuntu0.1UBUNTU-CVE-2025-54080

Affected products (as reported)

VendorProductVersions
Exiv2 exiv2 < 0.28.6

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