CVE-2020-18898
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.
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
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 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
compat-exiv2-026AlmaLinux:8 |
before 0.26-7.el8 | 0.26-7.el8 |
exiv2AlmaLinux:8 |
before 0.27.5-2.el8 | 0.27.5-2.el8 |
exiv2-develAlmaLinux:8 |
before 0.27.5-2.el8 | 0.27.5-2.el8 |
exiv2-docAlmaLinux:8 |
before 0.27.5-2.el8 | 0.27.5-2.el8 |
exiv2-libsAlmaLinux:8 |
before 0.27.5-2.el8 | 0.27.5-2.el8 |
exiv2Debian: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 less0.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 |
exiv2Debian: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 |
exiv2Debian: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-026Red Hat:enterprise_linux:8::appstream |
before 0:0.26-7.el8 | 0:0.26-7.el8 |
compat-exiv2-026-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.26-7.el8 | 0:0.26-7.el8 |
Show 36 moreShow less
| Package | Affected | Fixed |
|---|---|---|
compat-exiv2-026-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.26-7.el8 | 0:0.26-7.el8 |
exiv2Red Hat:enterprise_linux:8::appstream |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-libsRed Hat:enterprise_linux:8::appstream |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-libs-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-debugsourceRed Hat:enterprise_linux:8::crb |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-develRed Hat:enterprise_linux:8::crb |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-docRed Hat:enterprise_linux:8::crb |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2-libs-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
compat-exiv2-026Rocky Linux:8 |
before 0:0.26-7.el8 | 0:0.26-7.el8 |
exiv2Rocky Linux:8 |
before 0:0.27.5-2.el8 | 0:0.27.5-2.el8 |
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP1-BCL |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP1-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP2-BCL |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server 15 SP2-LTSS |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Proxy 4.1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Retail Branch Server 4.1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Manager Server 4.1 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Enterprise Storage 6 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2SUSE:Enterprise Storage 7 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2openSUSE:Leap 15.3 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
exiv2openSUSE:Leap 15.4 |
before 0.26-150000.6.16.1 | 0.26-150000.6.16.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases, references | EUVD | |
| first indexed | OSV | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
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.
References
github.com/Exiv2/exiv2/issues/741
cwe.mitre.org/data/definitions/674.html
nvd.nist.gov/vuln/detail/CVE-2020-18898
github.com/advisories/GHSA-g97p-564p-26xp
errata.almalinux.org/8/ALSA-2022-1797.html
vulners.com/cve/CVE-2020-18898
Show 45 moreShow less
errata.almalinux.org/8/ALSA-2022-1842.html
security-tracker.debian.org/tracker/CVE-2020-18898
access.redhat.com/errata/RHSA-2022:1797
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.6_release_notes
bugzilla.redhat.com/show_bug.cgi?id=2002678
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_1797.json
access.redhat.com/security/cve/CVE-2020-18898
cve.org/CVERecord?id=CVE-2020-18898
access.redhat.com/errata/RHSA-2022:1842
bugzilla.redhat.com/show_bug.cgi?id=2018422
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_1842.json
errata.rockylinux.org/RLSA-2022:1797
errata.rockylinux.org/RLSA-2022:1842
suse.com/support/update/announcement/2022/suse-su-20223598-1
bugzilla.suse.com/1076579
bugzilla.suse.com/1086798
bugzilla.suse.com/1086810
bugzilla.suse.com/1092096
bugzilla.suse.com/1114690
bugzilla.suse.com/1185447
bugzilla.suse.com/1186192
bugzilla.suse.com/1188733
bugzilla.suse.com/1188756
bugzilla.suse.com/1189330
bugzilla.suse.com/1189331
bugzilla.suse.com/1189332
bugzilla.suse.com/1189333
bugzilla.suse.com/1189636
bugzilla.suse.com/1189780
suse.com/security/cve/CVE-2018-10772
suse.com/security/cve/CVE-2018-18915
suse.com/security/cve/CVE-2018-5772
suse.com/security/cve/CVE-2018-8976
suse.com/security/cve/CVE-2018-8977
suse.com/security/cve/CVE-2020-18898
suse.com/security/cve/CVE-2020-18899
suse.com/security/cve/CVE-2021-29470
suse.com/security/cve/CVE-2021-31291
suse.com/security/cve/CVE-2021-31292
suse.com/security/cve/CVE-2021-32617
suse.com/security/cve/CVE-2021-37618
suse.com/security/cve/CVE-2021-37619
suse.com/security/cve/CVE-2021-37620
suse.com/security/cve/CVE-2021-37621