Skip to content
OpenAdvisories
Medium SUSE-SU-2022:3889-1 15 CVEs

Security update for exiv2

Published Nov 7, 2022 · Updated May 2, 2025

Summary

This update for exiv2 fixes the following issues:

Updated to version 0.27.5 (jsc#PED-1393):

- CVE-2017-1000128: Fixed stack out of bounds read in JPEG2000 parser (bsc#1068871).
- CVE-2019-13108: Fixed integer overflow PngImage:readMetadata (bsc#1142675).
- CVE-2020-19716: Fixed buffer overflow vulnerability in the Databuf function in types.cpp (bsc#1188645).
- CVE-2021-29457: Fixed heap buffer overflow when write metadata into a crafted image file (bsc#1185002).
- CVE-2021-29470: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1185447).
- CVE-2021-29623: Fixed read of uninitialized memory (bsc#1186053).
- CVE-2021-31291: Fixed heap-based buffer overflow in jp2image.cpp (bsc#1188733).
- CVE-2021-32617: Fixed denial of service due to inefficient algorithm (bsc#1186192).
- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read() (bsc#1189332).
- CVE-2021-37621: Fixed DoS due to infinite loop in Image:printIFDStructure (bsc#1189333).
- CVE-2021-37622: Fixed DoS due to infinite loop in JpegBase:printStructure (bsc#1189334)
- CVE-2021-34334: Fixed DoS due to integer overflow in loop counter(bsc#1189338)
- CVE-2021-37623: Fixed DoS due to infinite loop in JpegBase:printStructure (bsc#1189335)
- CVE-2021-29463: Fixed out-of-bounds read in webpimage.cpp (bsc#1185913).
- CVE-2021-34334: Fixed DoS due to integer overflow in loop counter (bsc#1189338)
- CVE-2019-13111: Fixed integer overflow in WebPImage:decodeChunks that lead to denial of service (bsc#1142679)
- CVE-2021-29463: Fixed an out-of-bounds read was found in webpimage.cpp (bsc#1185913)

Bugfixes:

- Fixed build using GCC 11 (bsc#1185218).

A new libexiv2-2_27 shared library is shipped, the libexiv2-2_26 is provided only for compatibility now.

Please recompile your applications using the exiv2 library.

Fixed packages 4

ReleasePackageFixed in
openSUSE · Leap 15.4 exiv2 0.27.5-150400.15.4.1
openSUSE · Leap 15.4 exiv2-0_26 0.26-150400.9.16.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Desktop Applications 15 SP4 exiv2 0.27.5-150400.15.4.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Desktop Applications 15 SP4 exiv2-0_26 0.26-150400.9.16.1

Vulnerabilities 15

  • 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

    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

    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…

  • Medium 4.7

    Denial of service in Exiv2

    Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. An inefficient algorithm (quadratic complexity) was found in Exiv2 versions v0.27.3 and earlier. The inefficient algorithm is triggered …

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

  • Low 3.6

    Uninitialized variable bug in Exiv2

    Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for rea…

  • Low 3.3

    Out-of-bounds read in Exiv2::WebPImage::doWriteMetadata

    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 —

    Exiv2 0.26 contains a stack out of bounds read in JPEG2000 parser

  • Unscored —

    An integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG…

  • Unscored —

    A WebPImage::decodeChunks integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (lar…

  • Unscored —

    A buffer overflow vulnerability in the Databuf function in types.cpp of Exiv2 v0.27.1 leads to a denial of service (DOS…

  • 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 —
    CVE-2021-31291 Rejected

    DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2021-29457. Reason: This candidate is a duplicate of CVE-2021-29457. …

References

  • report
    https://bugzilla.suse.com/1068871
  • report
    https://bugzilla.suse.com/1142675
  • report
    https://bugzilla.suse.com/1142679
  • report
    https://bugzilla.suse.com/1185002
  • report
    https://bugzilla.suse.com/1185218
  • report
    https://bugzilla.suse.com/1185447
  • report
    https://bugzilla.suse.com/1185913
  • report
    https://bugzilla.suse.com/1186053
  • report
    https://bugzilla.suse.com/1186192
  • report
    https://bugzilla.suse.com/1188645
  • report
    https://bugzilla.suse.com/1188733
  • report
    https://bugzilla.suse.com/1189332
  • report
    https://bugzilla.suse.com/1189333
  • report
    https://bugzilla.suse.com/1189334
  • report
    https://bugzilla.suse.com/1189335
  • report
    https://bugzilla.suse.com/1189338
  • web
    https://www.suse.com/security/cve/CVE-2017-1000128
  • web
    https://www.suse.com/security/cve/CVE-2019-13108
  • web
    https://www.suse.com/security/cve/CVE-2019-13111
  • web
    https://www.suse.com/security/cve/CVE-2020-19716
  • web
    https://www.suse.com/security/cve/CVE-2021-29457
  • web
    https://www.suse.com/security/cve/CVE-2021-29463
  • web
    https://www.suse.com/security/cve/CVE-2021-29470
  • web
    https://www.suse.com/security/cve/CVE-2021-29623
  • web
    https://www.suse.com/security/cve/CVE-2021-31291
  • web
    https://www.suse.com/security/cve/CVE-2021-32617
  • web
    https://www.suse.com/security/cve/CVE-2021-34334
  • web
    https://www.suse.com/security/cve/CVE-2021-37620
  • web
    https://www.suse.com/security/cve/CVE-2021-37621
  • web
    https://www.suse.com/security/cve/CVE-2021-37622
  • web
    https://www.suse.com/security/cve/CVE-2021-37623