Skip to content

CVE-2021-29463 Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata

MediumCVSS 5.5 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An out-of-bounds read was found in Exiv2 versions v0.27.3 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. For example, to trigger the bug in the Exiv2 command-line application, you need to add an extra command-line argument such as insert. The bug is fixed in version v0.27.4.

Affected products

ProductAffected versionsFixed in
debian/exiv2(Debian:12) < 0.27.5-1 0.27.5-1
debian/exiv2(Debian:13) < 0.27.5-1 0.27.5-1
debian/exiv2(Debian:14) < 0.27.5-1 0.27.5-1
exiv2 < 0.27.4 0.27.4
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
alpine/exiv2(Alpine:v3.13) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.14) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.15) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.16) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.17) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.18) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.19) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.20) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.21) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.22) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.23) < 0.27.3-r2 0.27.3-r2
alpine/exiv2(Alpine:v3.24) < 0.27.3-r2 0.27.3-r2
exiv2 = < 0.27.4 No fix listed

References