cve.bz

CVE-2024-25112 exiv2 exiv2: Uncontrolled Recursion

5.0 mediumEPSS 0.2%Fix available

Medium (5.0) in exiv2 exiv2. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in exiv2 0.16.1.

On this page
Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. A denial-of-service was found in Exiv2 version v0.28.1: an unbounded recursion can cause Exiv2 to crash by exhausting the stack. The vulnerable function, `QuickTimeVideo::multipleEntriesDecoder`, was new in v0.28.0, so Exiv2 versions before v0.28 are _not_ affected. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted video file. This bug is fixed in version v0.28.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-674 Uncontrolled Recursion
CWE-400 Uncontrolled Resource Consumption
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-2024-25112 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-25112?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-25112?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-2024-25112 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.28.0
exiv2:exiv20.28.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-crmj-qh74-2r36PyPIexiv2>=0.16.0 <0.16.10.16.1
PYSEC-2024-107PyPIexiv2>=0.16.0 <0.16.10.16.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12exiv2no fix listedDEBIAN-CVE-2024-25112
Debian13, 14exiv20.28.3+dfsg-2DEBIAN-CVE-2024-25112
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0exiv20.28.8-160000.1.1SUSE-SU-2026:20923-1
openSUSELeap 16.0exiv20.28.8-160000.1.1openSUSE-SU-2026:20410-1
openSUSETumbleweedexiv20.28.2-1.1openSUSE-SU-2024:13731-1
Alpinev3.19, v3.20, v3.21 and 3 moreexiv20.28.2-r0ALPINE-CVE-2024-25112
Azure Linux2exiv2no fix listedAZL-42515
Azure Linux3exiv20.28.3-1AZL-42558

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The Exiv2 versions before v0.28 are not affected. An older version of Exiv2 is present in RHEL. Hence, RHEL is not affected.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6exiv2Not affected
Red Hat Enterprise Linux 7compat-exiv2-023Not affected
Red Hat Enterprise Linux 7compat-exiv2-026Not affected
Red Hat Enterprise Linux 7exiv2Not affected
Red Hat Enterprise Linux 8compat-exiv2-026Not affected
Red Hat Enterprise Linux 8exiv2Not affected
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-2024-25112.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

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

References

Check your stackJSON