Every CVE Search/ Get API key

CVE-2020-18898

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers...

6.5 MediumFix available

CVE-2020-18898 is a medium vulnerability (CVSS 6.5) in Exiv2, published August 19, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. Fixed in compat-exiv2-026 0.26-7.el8.

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.43%Up 0.8 points since Aug 20, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
CVE-2020-18898
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-674
Updated
2026-11-02
CVE List No score

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
CVE-2020-18898
Updated
2026-11-02
EUVDEUVD-2021-0078 No score

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
EUVD-2021-0078
Updated
2026-11-03
GitHub AdvisoriesGHSA-g97p-564p-26xp 6.5

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers...

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
GHSA-g97p-564p-26xp
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-674, CWE-787
Updated
2026-11-02
OSV 6.5

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
CVE-2020-18898
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2020-18898 6.5

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
DEBIAN-CVE-2020-18898
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVPYSEC-2021-885 6.5

A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.

Record
PYSEC-2021-885
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:1797 6.5

Red Hat Security Advisory: compat-exiv2-026 security update

Record
RHSA-2022:1797
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:1842 6.5

Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update

Record
RHSA-2022:1842
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:1797 6.5

Moderate: compat-exiv2-026 security update

Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.

Security Fix(es):

  • exiv2: stack exhaustion issue in the printIFDStructure function may lead to DoS (CVE-2020-18898)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.6 Release Notes linked from the References section.

Record
RLSA-2022:1797
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2022:1842 6.5

Moderate: exiv2 security, bug fix, and enhancement update

Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.

The following packages have been upgraded to a later upstream version: exiv2 (0.27.5). (BZ#2018422)

Security Fix(es):

  • exiv2: stack exhaustion issue in the printIFDStructure function may lead to DoS (CVE-2020-18898)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.6 Release Notes linked from the References section.

Record
RLSA-2022:1842
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2022:1797 No score

Moderate: compat-exiv2-026 security update

Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.

Security Fix(es):

  • exiv2: stack exhaustion issue in the printIFDStructure function may lead to DoS (CVE-2020-18898)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:1797
Updated
2026-11-02
OSVALSA-2022:1842 No score

Moderate: exiv2 security, bug fix, and enhancement update

Exiv2 is a C++ library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.

The following packages have been upgraded to a later upstream version: exiv2 (0.27.5). (BZ#2018422)

Security Fix(es):

  • exiv2: stack exhaustion issue in the printIFDStructure function may lead to DoS (CVE-2020-18898)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:1842
Updated
2026-11-02
OSVSUSE-SU-2022:3598-1 No score

Security update for exiv2

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).
Record
SUSE-SU-2022:3598-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
compat-exiv2-026
AlmaLinux:8
before 0.26-7.el8
0.26-7.el8
exiv2
AlmaLinux:8
before 0.27.5-2.el8
0.27.5-2.el8
exiv2-devel
AlmaLinux:8
before 0.27.5-2.el8
0.27.5-2.el8
exiv2-doc
AlmaLinux:8
before 0.27.5-2.el8
0.27.5-2.el8
exiv2-libs
AlmaLinux:8
before 0.27.5-2.el8
0.27.5-2.el8
exiv2
Debian:12
All versions, plus listed versions
0.27.6-10.28.0+dfsg-10.28.0+dfsg-20.28.0+dfsg-30.28.0+dfsg-4
Show 13 moreShow less
0.28.1+dfsg-10.28.1+dfsg-20.28.1+dfsg-30.28.2+dfsg-10.28.3+dfsg-10.28.3+dfsg-20.28.4+dfsg-10.28.4+dfsg-20.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Debian:13
All versions, plus listed versions
0.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Debian:14
All versions, plus listed versions
0.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
compat-exiv2-026
Red Hat:enterprise_linux:8::appstream
before 0:0.26-7.el8
0:0.26-7.el8
compat-exiv2-026-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.26-7.el8
0:0.26-7.el8
Show 36 moreShow less
Affected packages
PackageAffectedFixed
compat-exiv2-026-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.26-7.el8
0:0.26-7.el8
exiv2
Red Hat:enterprise_linux:8::appstream
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-libs
Red Hat:enterprise_linux:8::appstream
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-libs-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-debugsource
Red Hat:enterprise_linux:8::crb
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-devel
Red Hat:enterprise_linux:8::crb
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-doc
Red Hat:enterprise_linux:8::crb
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2-libs-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:0.27.5-2.el8
0:0.27.5-2.el8
compat-exiv2-026
Rocky Linux:8
before 0:0.26-7.el8
0:0.26-7.el8
exiv2
Rocky Linux:8
before 0:0.27.5-2.el8
0:0.27.5-2.el8
exiv2
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server 15-LTSS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server 15 SP1-BCL
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server 15 SP2-BCL
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server for SAP Applications 15
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Manager Proxy 4.1
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Manager Retail Branch Server 4.1
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Manager Server 4.1
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Enterprise Storage 6
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
SUSE:Enterprise Storage 7
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
openSUSE:Leap 15.3
before 0.26-150000.6.16.1
0.26-150000.6.16.1
exiv2
openSUSE:Leap 15.4
before 0.26-150000.6.16.1
0.26-150000.6.16.1

History

History
WhenChangedSources
2026-11-03affected
2026-11-03affected, aliases, referencesEUVD
2026-11-02createdOSV
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 45 moreShow less
MoveEnter Open