Published: 09 August 2021
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used to print the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when printing the interpreted (translated) data, which is a less frequently used Exiv2 operation that requires an extra command line option (`-p t` or `-P t`). The bug is fixed in version v0.27.5.
CVSS 3 base score: 5.5
Launchpad, Ubuntu, Debian
|Ubuntu 21.04 (Hirsute Hippo)||
|Ubuntu 20.04 LTS (Focal Fossa)||
|Ubuntu 18.04 LTS (Bionic Beaver)||
(code not present)
|Ubuntu 16.04 ESM (Xenial Xerus)||
|Ubuntu 14.04 ESM (Trusty Tahr)||
Does not exist
Upstream: https://github.com/Exiv2/exiv2/pull/1758/commits/8e79d9a4e00828777e17276571fb8ed1b7cd49aa (regression test)
Upstream: https://github.com/Exiv2/exiv2/pull/1758/commits/18d168959792d1eb42bb71d001ff46b57d6b97ab (fix)
Upstream: https://github.com/Exiv2/exiv2/pull/1758/commits/3ac426b2c04004422c290425259082281e090116 (fix)
bionic, xenial not affected, code not present.