Skip to content
OpenAdvisories
Medium USN-5043-1 11 CVEs

exiv2 vulnerabilities

Published Aug 17, 2021 · Updated Jun 25, 2026

Summary

It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-32815, CVE-2021-34334, CVE-2021-37620, CVE-2021-37622)

It was discovered that Exiv2 incorrectly handled certain image files.
An attacker could possibly use this issue to cause a denial of service.
These issues only affected Ubuntu 20.04 LTS and Ubuntu 21.04.
(CVE-2021-34335, CVE-2021-37615, CVE-2021-37616, CVE-2021-37618,
CVE-2021-37619, CVE-2021-37621, CVE-2021-37623)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 18.04 LTS 18.04:LTS exiv2 0.25-3.1ubuntu0.18.04.11
Ubuntu · 20.04 LTS 20.04:LTS exiv2 0.27.2-8ubuntu2.6
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS exiv2 0.25-2.1ubuntu16.04.7+esm4

Vulnerabilities 11

  • Medium 5.5

    Denial of service due to assertion failure in crwimage_int.cpp

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The assertion failure is triggered when Exiv2 is used to modify the metadata of a crafted image file. An attacker could potentially expl…

  • Medium 5.5

    Denial of service due to integer overflow in loop counter

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the…

  • Medium 5.5

    Null pointer dereference in Exiv2::Internal::resolveLens0x8ff

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used…

  • Medium 5.5

    Denial of service due to infinite loop in Image::printIFDStructure

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to print the metadat…

  • Medium 5.5

    Denial of service due to infinite loop in JpegBase::printStructure (#1)

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metada…

  • Medium 5.5

    Denial of service due to infinite loop in JpegBase::printStructure (#2)

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An infinite loop was found in Exiv2 versions v0.27.4 and earlier. The infinite loop is triggered when Exiv2 is used to modify the metada…

  • Medium 4.7

    Denial of service due to FPE in Exiv2::Internal::resolveLens0xffff

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A floating point exception (FPE) due to an integer divide by zero was found in Exiv2 versions v0.27.4 and earlier. The FPE is triggered …

  • Medium 4.7

    Null pointer dereference in Exiv2::Internal::resolveLens0x319

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A null pointer dereference was found in Exiv2 versions v0.27.4 and earlier. The null pointer dereference is triggered when Exiv2 is used…

  • Medium 4.7

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

    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 print t…

  • 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.4 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write m…

  • Medium 4.7

    Out-of-bounds read in XmpTextValue::read()

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

References

  • report
    https://ubuntu.com/security/CVE-2021-32815
  • report
    https://ubuntu.com/security/CVE-2021-34334
  • report
    https://ubuntu.com/security/CVE-2021-34335
  • report
    https://ubuntu.com/security/CVE-2021-37615
  • report
    https://ubuntu.com/security/CVE-2021-37616
  • report
    https://ubuntu.com/security/CVE-2021-37618
  • report
    https://ubuntu.com/security/CVE-2021-37619
  • report
    https://ubuntu.com/security/CVE-2021-37620
  • report
    https://ubuntu.com/security/CVE-2021-37621
  • report
    https://ubuntu.com/security/CVE-2021-37622
  • report
    https://ubuntu.com/security/CVE-2021-37623