CVE-2024-25112: Exiv2 has a denial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder

CVE-2024-25112 · Severity: low · CVSS 3.1 · Published 2024-02-12

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.

Technologies: exiv2 (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-25112 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-25112 being exploited in the wild.
How severe is CVE-2024-25112?
Low severity, with a CVSS score of 3.1, published 12 February 2024.
Which products and versions are affected?
exiv2 (PyPI) ECOSYSTEM:introduced=0.16.0,fixed=0.16.1.
Is there a fix for CVE-2024-25112?
Yes. exiv2 (PyPI): upgrade to 0.16.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-25112?
Check whether you run exiv2 (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • exiv2 (PyPI): upgrade to 0.16.1 or later
    pip install "exiv2>=0.16.1"

Affected products

  • exiv2 (PyPI) ECOSYSTEM:introduced=0.16.0,fixed=0.16.1

Identifiers

  • CVE-2024-25112
  • GHSA-crmj-qh74-2r36
  • PYSEC-2024-107

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.