CVE-2021-29457
mediumpriority · track · 32EPSS 0.022 · 82 %ileDEEURUUSEPSS · scored 2026-10-28
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A heap buffer overflow was found in Exiv2 versions v0.27.3 and earlier. The heap overflow is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, 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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedexiv2-0:0.27.4-5.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-0:0.27.4-5.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-0:0.27.4-5.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-0:0.27.4-5.el8.src as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-0:0.27.4-5.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.aarch64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.i686 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.ppc64le as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.s390x as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.x86_64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debuginfo-0:0.27.4-5.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.aarch64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.i686 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.ppc64le as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.s390x as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.x86_64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-debugsource-0:0.27.4-5.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-devel-0:0.27.4-5.el8.aarch64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-devel-0:0.27.4-5.el8.i686 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-devel-0:0.27.4-5.el8.ppc64le as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-devel-0:0.27.4-5.el8.s390x as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-devel-0:0.27.4-5.el8.x86_64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-doc-0:0.27.4-5.el8.noarch as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-0:0.27.4-5.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-0:0.27.4-5.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-0:0.27.4-5.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-0:0.27.4-5.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-0:0.27.4-5.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.aarch64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.i686 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.ppc64le as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.s390x as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.x86_64 as a component of Red Hat CodeReady Linux Builder (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173 - Fixedexiv2-libs-debuginfo-0:0.27.4-5.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:4173
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (66)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- RHSA-2021:4173Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update2021-11-09csaf · redhat_csafUS
An update for exiv2 is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2022-1968Red Hat Enterprise Linux (exiv2): Mehrere SchwachstellenDeutsch2021-11-09csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux in exiv2 ausnutzen, um einen Denial of Service Angriff durchzuführen, vertrauliche Informationen offenzulegen und die Integrität zu gefährden.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (33)
External citations — patches, advisories, analysis.
- https://github.com/Exiv2/exiv2/issues/1529cnnvd
- https://github.com/Exiv2/exiv2/pull/1534cnnvd
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-v74w-h496-cgqmcnnvd
- https://lists.debian.org/debian-lts-announce/2021/08/msg00028.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2XQT5F5IINTDYDAFGVGQZ7PMMLG7I5ZZ/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P2A5GMJEXQ5Q76JK6F6VKK5JYCLVFGKN/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-29457cnnvd
- https://packetstormsecurity.com/files/162525/Ubuntu-Security-Notice-USN-4941-1.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan