cve.bz

CVE-2020-18898 exiv2 exiv2: Uncontrolled Recursion

6.5 mediumExploit referenceEPSS 1.4%

Medium (6.5) in exiv2 exiv2. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-18898 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-18898?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-18898?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-18898 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
exiv2:exiv20.27

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14exiv2no fix listedDEBIAN-CVE-2020-18898
Red Hatenterprise_linux:8::appstreamcompat-exiv2-026, compat-exiv2-026-debuginfo, compat-exiv2-026-debugsource0:0.26-7.el8RHSA-2022:1797
Red Hatenterprise_linux:8::appstreamexiv2, exiv2-libs, exiv2-debuginfo and 2 more0:0.27.5-2.el8RHSA-2022:1842
Red Hatenterprise_linux:8::crbexiv2-doc, exiv2-devel, exiv2-debuginfo and 2 more0:0.27.5-2.el8RHSA-2022:1842
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 18 moreexiv20.26-150000.6.16.1SUSE-SU-2022:3598-1
openSUSELeap 15.3, Leap 15.4exiv20.26-150000.6.16.1SUSE-SU-2022:3598-1
AlmaLinux8compat-exiv2-0260.26-7.el8ALSA-2022:1797
AlmaLinux8exiv2, exiv2-doc, exiv2-libs and 1 more0.27.5-2.el8ALSA-2022:1842
Rocky Linux8compat-exiv2-0260:0.26-7.el8RLSA-2022:1797
Rocky Linux8exiv20:0.27.5-2.el8RLSA-2022:1842

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8compat-exiv2-026-0:0.26-7.el8Fixed 2022-05-10RHSA-2022:1797
Red Hat Enterprise Linux 8exiv2-0:0.27.5-2.el8Fixed 2022-05-10RHSA-2022:1842
Red Hat Enterprise Linux 6exiv2Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-023Out of support scope
Red Hat Enterprise Linux 7compat-exiv2-026Out of support scope
Red Hat Enterprise Linux 7exiv2Out of support scope
Red Hat Enterprise Linux 9exiv2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-18898.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON