PT-2021-4564

CVE-2021-29457

·

Published

2021-04-08

·

Updated

2026-10-01

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Exiv2 versions v0.27.3 and earlier
Description A heap buffer overflow was found in Exiv2 when used to write metadata into a crafted image file. This could potentially allow an attacker to gain code execution if they can trick the victim into running Exiv2 on a crafted image file. The issue is triggered by writing metadata, a less frequently used operation than reading metadata. For example, adding an extra command-line argument such as insert can trigger the bug in the Exiv2 command-line application. The vulnerability may also allow a remote attacker to access confidential data, compromise its integrity, and cause a denial of service using a specially crafted image file.
Recommendations For Exiv2 versions v0.27.3 and earlier, update to version v0.27.4 to fix the heap buffer overflow issue. As a temporary workaround, consider avoiding the use of the insert command-line argument or any other operation that triggers the writing of metadata until the update is applied. Restrict the use of Exiv2 for writing metadata to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-V74W-H496-CGQM
ALSA-2021:4173
ALT-PU-2021-2006
ALT-PU-2021-3308
ALT-PU-2024-13399
AZL-7206
CESA-2021_4173
CLEANSTART-2024-LL11119
DLA-2750-1
DSA-4958-1
MGASA-2021-0240
OESA-2021-1183
OPENSUSE-SU-2022_3889-1
OPENSUSE-SU-2024:12381-1
RHSA-2021:4173
RHSA-2021_4173
RLSA-2021:4173
SUSE-SU-2022:3889-1
SUSE-SU-2022:4252-1
USN-4941-1
Found an issue in the description? Have something to add? Feel free to write us 👾