CVE-2025-54080

NameCVE-2025-54080
DescriptionExiv2 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1112505

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
exiv2 (PTS)bullseye0.27.3-3+deb11u2vulnerable
bullseye (security)0.27.3-3+deb11u1vulnerable
bookworm0.27.6-1vulnerable
trixie0.28.5+dfsg-1vulnerable
forky, sid0.28.7+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
exiv2sourceexperimental0.28.7+dfsg-1
exiv2source(unstable)0.28.7+dfsg-21112505

Notes

[trixie] - exiv2 <no-dsa> (Minor issue)
[bookworm] - exiv2 <no-dsa> (Minor issue)
[bullseye] - exiv2 <postponed> (minor issue; out of bound read on write plugin)
https://github.com/Exiv2/exiv2/security/advisories/GHSA-496f-x7cq-cq39
Regression test: https://github.com/Exiv2/exiv2/commit/f2345de0ce74e4c2103a5d48d3c6f90545ecaa56 (v0.28.6)
Fixed by: https://github.com/Exiv2/exiv2/commit/f02c970ae56e6e377f7f79ba9e8edb5f2d23f48d (v0.28.6)

Search for package or bug name: Reporting problems