CVE-2020-18898 json
A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a c…
published 2021-08-19 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-0078
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- exiv2 RHEL 8 0.27.5-2.el8
- exiv2-libs RHEL 8 0.27.5-2.el8
- compat-exiv2-026 RHEL 8 0.26-7.el8
red hat advisories RHSA-2022:1842RHSA-2022:1797
- exiv2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 0.26-150000.6.16.1
suse advisories SUSE-SU-2022:3598-1
- compat-exiv2-026 AlmaLinux 8 0.26-7.el8
- exiv2 AlmaLinux 8 0.27.5-2.el8
- exiv2-libs AlmaLinux 8 0.27.5-2.el8
almalinux advisories ALSA-2022:1797ALSA-2022:1842
- compat-exiv2-026 Rocky Linux 8 0.26-7.el8
- exiv2 Rocky Linux 8 0.27.5-2.el8
rocky linux advisories RLSA-2022:1797RLSA-2022:1842
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-18898 updated cvss 6.5
exiv2: stack exhaustion issue in the printIFDStructure function may lead to DoS
-
Red Hat Enterprise Linux 6 exiv2, exiv2-libs Red Hat Enterprise Linux 7 exiv2, exiv2-libs, compat-exiv2-023, compat-exiv2-026affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) exiv2 0.27.5-2.el8, exiv2-libs 0.27.5-2.el8, compat-exiv2-026 0.26-7.el8fixed: vendor fix RHSA-2022:1797
-
Red Hat Enterprise Linux CRB (v. 8) exiv2-doc 0.27.5-2.el8, exiv2-devel 0.27.5-2.el8, exiv2-debuginfo 0.27.5-2.el8, exiv2-debugsource 0.27.5-2.el8, exiv2-libs-debuginfo 0.27.5-2.el8fixed: vendor fix RHSA-2022:1842
-
Red Hat Enterprise Linux 9 exiv2, exiv2-libsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Exiv2/exiv2/issues/741 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/Exiv2/exiv2/issues/741
exploit, issue-tracking, third-party-advisory
-
cwe.mitre.org
/data/definitions/674.html
third-party-advisory
Sources
- CVE List CVE-2020-18898
- NVD CVE-2020-18898
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.