Skip to content
OpenAdvisories
Medium SUSE-SU-2022:4252-1 8 CVEs

Security update for exiv2

Published Nov 28, 2022 · Updated Feb 4, 2026

Summary

This update for exiv2 fixes the following issues:

- CVE-2019-13112: Fixed an uncontrolled memory allocation in PngChunk:parseChunkContent causing denial of service. (bsc#1142681)
- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read(). (bsc#1189332)
- CVE-2021-34334: Fixed a DoS due to integer overflow in loop counter. (bsc#1189338)
- CVE-2021-31291: Fixed a heap-based buffer overflow vulnerability in jp2image.cpp may lead to a denial of service via crafted metadata (bsc#1188733).
- CVE-2021-32815: Fixed a deny-of-service due to assertion failure in crwimage_int.cpp (bsc#1189337).
- CVE-2018-20097: Fixed SEGV in Exiv2::Internal::TiffParserWorker::findPrimaryGroupsu (bsc#1119562).
- CVE-2021-29457: Fixed a heap buffer overflow when write metadata into a crafted image file (bsc#1185002).
- CVE-2021-29473: Fixed out-of-bounds read in Exiv2::Jp2Image:doWriteMetadata (bsc#1186231).

Fixed packages 9

ReleasePackageFixed in
SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL exiv2 0.23-12.18.1
SUSE · SLES 12 SP3 Linux Enterprise Server 12 SP3-BCL exiv2 0.23-12.18.1
SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4-LTSS exiv2 0.23-12.18.1
SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 exiv2 0.23-12.18.1
SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 exiv2 0.23-12.18.1
SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 exiv2 0.23-12.18.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 exiv2 0.23-12.18.1
SUSE · OpenStack Cloud 9 exiv2 0.23-12.18.1
SUSE · OpenStack Cloud Crowbar 9 exiv2 0.23-12.18.1

Vulnerabilities 8

  • Medium 6.5

    There is a SEGV in Exiv2::Internal::TiffParserWorker::findPrimaryGroups of tiffimage_int.cpp in Exiv2 0.27-RC3. A craft…

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

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

    Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds read was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, wri…

  • Unscored —

    A PngChunk::parseChunkContent uncontrolled memory allocation in Exiv2 through 0.27.1 allows an attacker to cause a deni…

  • 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/1119562
  • report
    https://bugzilla.suse.com/1142681
  • report
    https://bugzilla.suse.com/1185002
  • report
    https://bugzilla.suse.com/1186231
  • report
    https://bugzilla.suse.com/1188733
  • report
    https://bugzilla.suse.com/1189332
  • report
    https://bugzilla.suse.com/1189337
  • report
    https://bugzilla.suse.com/1189338
  • web
    https://www.suse.com/security/cve/CVE-2018-20097
  • web
    https://www.suse.com/security/cve/CVE-2019-13112
  • web
    https://www.suse.com/security/cve/CVE-2021-29457
  • web
    https://www.suse.com/security/cve/CVE-2021-29473
  • web
    https://www.suse.com/security/cve/CVE-2021-31291
  • web
    https://www.suse.com/security/cve/CVE-2021-32815
  • web
    https://www.suse.com/security/cve/CVE-2021-34334
  • web
    https://www.suse.com/security/cve/CVE-2021-37620