Skip to content

CVE-2021-37620 Out-of-bounds read in XmpTextValue::read()

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.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to read 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. The bug is fixed in version v0.27.5.

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
ubuntu/exiv2(Ubuntu:22.04) < 0.27.3-3ubuntu4 0.27.3-3ubuntu4
exiv2 < 0.27.5 0.27.5
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
debian linux = 10.0 No fix listed
alpine/exiv2(Alpine:v3.14) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.15) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.16) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.17) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.18) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.19) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.20) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.21) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.22) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.23) < 0.27.5-r0 0.27.5-r0
alpine/exiv2(Alpine:v3.24) < 0.27.5-r0 0.27.5-r0
exiv2 = <= 0.27.4 No fix listed

References