Skip to content
OpenAdvisories
Medium USN-4941-1 4 CVEs

exiv2 vulnerabilities

Published May 10, 2021 · Updated Jun 25, 2026

Summary

It was discovered that Exiv2 incorrectly handled certain images.
An attacker could possibly use this issue to execute arbitrary code or cause
a crash. (CVE-2021-29457)

It was discovered that Exiv2 incorrectly handled certain images.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-29458, CVE-2021-29470)

It was discovered that Exiv2 incorrectly handled certain images.
An attacker could possibly use this issue to execute arbitrary code or
cause a crash. (CVE-2021-3482)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 18.04 LTS 18.04:LTS exiv2 0.25-3.1ubuntu0.18.04.7
Ubuntu · 20.04 LTS 20.04:LTS exiv2 0.27.2-8ubuntu2.2
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS exiv2 0.25-2.1ubuntu16.04.7+esm1

Vulnerabilities 4

  • Medium 4.7

    Out-of-bounds read in Exiv2::Jp2Image::encodeJp2Header

    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 m…

  • Unscored —

    Heap buffer overflow in Exiv2::Jp2Image::doWriteMetadata

    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 metad…

  • Unscored —

    Out-of-bounds read in Exiv2::Internal::CrwMap::encode

    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 m…

  • Unscored —

    A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size pr…

References

  • report
    https://ubuntu.com/security/CVE-2021-3482
  • report
    https://ubuntu.com/security/CVE-2021-29457
  • report
    https://ubuntu.com/security/CVE-2021-29458
  • report
    https://ubuntu.com/security/CVE-2021-29470