ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-54080

Details

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

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSexiv2
All versions before 0.25-2.1ubuntu16.04.7+esm5 (fixed in 0.25-2.1ubuntu16.04.7+esm5)
Ubuntu:Pro:18.04:LTSexiv2
All versions before 0.25-3.1ubuntu0.18.04.11+esm1 (fixed in 0.25-3.1ubuntu0.18.04.11+esm1)
Ubuntu:Pro:20.04:LTSexiv2
All versions before 0.27.2-8ubuntu2.7+esm1 (fixed in 0.27.2-8ubuntu2.7+esm1)
Ubuntu:22.04:LTSexiv2
All versions before 0.27.5-3ubuntu1.1 (fixed in 0.27.5-3ubuntu1.1)
Ubuntu:24.04:LTSexiv2
All versions before 0.27.6-1ubuntu0.1 (fixed in 0.27.6-1ubuntu0.1)
Ubuntu:25.10exiv2
All versions before 0.28.5+dfsg-1ubuntu0.1 (fixed in 0.28.5+dfsg-1ubuntu0.1)

References