Skip to content
OpenAdvisories
High SUSE-SU-2022:3598-1 15 CVEs

Security update for exiv2

Published Oct 17, 2022 · Updated Feb 4, 2026

Summary

This update for exiv2 fixes the following issues:

- CVE-2021-37621: Fixed denial of service due to infinite loop in Image:printIFDStructure (bsc#1189333).
- CVE-2021-37620: Fixed out-of-bounds read in XmpTextValue:read() (bsc#1189332).
- CVE-2021-37619: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1189331).
- CVE-2021-37618: Fixed out-of-bounds read in Exiv2:Jp2Image:printStructure (bsc#1189330).
- CVE-2021-32617: Fixed denial of service inside inefficient algorithm (quadratic complexity) (bsc#1186192).
- CVE-2021-31292: Fixed integer overflow in CrwMap:encode0x1810 (bsc#1188756).
- CVE-2021-31291: Fixed heap-based buffer overflow vulnerability in jp2image.cpp may lead to a denial of service (bsc#1188733).
- CVE-2021-29470: Fixed out-of-bounds read in Exiv2:Jp2Image:encodeJp2Header (bsc#1185447).
- CVE-2020-18899: Fixed uncontrolled memory allocation (bsc#1189636).
- CVE-2020-18898: Fixed remote denial of service in printIFDStructure function (bsc#1189780).
- CVE-2018-8977: Fixed remote denial of service in Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp (bsc#1086798).
- CVE-2018-8976: Fixed remote denial of service in image.cpp Exiv2::Internal::stringFormat via out-of-bounds read (bsc#1086810).
- CVE-2018-5772: Fixed segmentation fault caused by uncontrolled recursion inthe Exiv2::Image::printIFDStructure (bsc#1076579).
- CVE-2018-18915: Fixed an infinite loop in the Exiv2:Image:printIFDStructure function (bsc#1114690).
- CVE-2018-10772: Fixed segmentation fault when the function Exiv2::tEXtToDataBuf() is finished (bsc#1092096).

Fixed packages 23

ReleasePackageFixed in
SUSE · Enterprise Storage 6 exiv2 0.26-150000.6.16.1
SUSE · Enterprise Storage 7 exiv2 0.26-150000.6.16.1
openSUSE · Leap 15.3 exiv2 0.26-150000.6.16.1
openSUSE · Leap 15.4 exiv2 0.26-150000.6.16.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-ESPOS exiv2 0.26-150000.6.16.1
SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS exiv2 0.26-150000.6.16.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS exiv2 0.26-150000.6.16.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS exiv2 0.26-150000.6.16.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-ESPOS exiv2 0.26-150000.6.16.1
SUSE · SLE HPC 15 Linux Enterprise High Performance Computing 15-LTSS exiv2 0.26-150000.6.16.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Desktop Applications 15 SP3 exiv2 0.26-150000.6.16.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Desktop Applications 15 SP4 exiv2 0.26-150000.6.16.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-BCL exiv2 0.26-150000.6.16.1
SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS exiv2 0.26-150000.6.16.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL exiv2 0.26-150000.6.16.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS exiv2 0.26-150000.6.16.1
SUSE · SLES 15 Linux Enterprise Server 15-LTSS exiv2 0.26-150000.6.16.1
SUSE · SLES for SAP 15 Linux Enterprise Server for SAP Applications 15 exiv2 0.26-150000.6.16.1
SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 exiv2 0.26-150000.6.16.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 exiv2 0.26-150000.6.16.1
SUSE · Manager Proxy 4.1 exiv2 0.26-150000.6.16.1
SUSE · Manager Retail Branch Server 4.1 exiv2 0.26-150000.6.16.1
SUSE · Manager Server 4.1 exiv2 0.26-150000.6.16.1

Vulnerabilities 15

  • High 7.5

    An integer overflow in CrwMap::encode0x1810 of Exiv2 0.27.3 allows attackers to trigger a heap-based buffer overflow an…

  • Medium 6.5

    An uncontrolled memory allocation in DataBufdata(subBox.length-sizeof(box)) function of Exiv2 0.27 allows attackers to …

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

  • Unscored —

    The tEXtToDataBuf function in pngimage.cpp in Exiv2 through 0.26 allows remote attackers to cause a denial of service (…

  • Unscored —

    There is an infinite loop in the Exiv2::Image::printIFDStructure function of image.cpp in Exiv2 0.27-RC1. A crafted inp…

  • Unscored —

    In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure fu…

  • Unscored —

    In Exiv2 0.26, jpgimage.cpp allows remote attackers to cause a denial of service (image.cpp Exiv2::Internal::stringForm…

  • Unscored —

    In Exiv2 0.26, the Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp allows remote attackers to cause a deni…

  • Unscored —

    A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of s…

  • 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/1076579
  • report
    https://bugzilla.suse.com/1086798
  • report
    https://bugzilla.suse.com/1086810
  • report
    https://bugzilla.suse.com/1092096
  • report
    https://bugzilla.suse.com/1114690
  • report
    https://bugzilla.suse.com/1185447
  • report
    https://bugzilla.suse.com/1186192
  • report
    https://bugzilla.suse.com/1188733
  • report
    https://bugzilla.suse.com/1188756
  • report
    https://bugzilla.suse.com/1189330
  • report
    https://bugzilla.suse.com/1189331
  • report
    https://bugzilla.suse.com/1189332
  • report
    https://bugzilla.suse.com/1189333
  • report
    https://bugzilla.suse.com/1189636
  • report
    https://bugzilla.suse.com/1189780
  • web
    https://www.suse.com/security/cve/CVE-2018-10772
  • web
    https://www.suse.com/security/cve/CVE-2018-18915
  • web
    https://www.suse.com/security/cve/CVE-2018-5772
  • web
    https://www.suse.com/security/cve/CVE-2018-8976
  • web
    https://www.suse.com/security/cve/CVE-2018-8977
  • web
    https://www.suse.com/security/cve/CVE-2020-18898
  • web
    https://www.suse.com/security/cve/CVE-2020-18899
  • web
    https://www.suse.com/security/cve/CVE-2021-29470
  • web
    https://www.suse.com/security/cve/CVE-2021-31291
  • web
    https://www.suse.com/security/cve/CVE-2021-31292
  • web
    https://www.suse.com/security/cve/CVE-2021-32617
  • web
    https://www.suse.com/security/cve/CVE-2021-37618
  • web
    https://www.suse.com/security/cve/CVE-2021-37619
  • web
    https://www.suse.com/security/cve/CVE-2021-37620
  • web
    https://www.suse.com/security/cve/CVE-2021-37621