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

Source: https://junglewise.ai/threats/cve-2024-25112-exiv2-has-a-denial-of-service-due-to-unbounded-recursion-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-12  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/exiv2). Vendors: [PyPI](https://junglewise.ai/threats/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

  ```sh
  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

## Related threats

- [PYSEC-2026-1355 - Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata](https://junglewise.ai/threats/cve-2025-55304-exiv2-has-quadratic-performance-in-icc-profile-parsing-in)
- [PYSEC-2026-1354 - Exiv2 Segmentation Faults in Exiv2::EpsImage::writeMetadata() via crafted EPS file](https://junglewise.ai/threats/cve-2025-54080-exiv2-segmentation-faults-in-exiv2-epsimage-writemetadata-via)
- [PYSEC-2026-1353 - Exiv2 allows Use After Free](https://junglewise.ai/threats/cve-2025-26623-exiv2-use-after-free-in-tiffsubifd)
- [Exiv2 has an out-of-bounds read in QuickTimeVideo::NikonTagsDecoder](https://junglewise.ai/threats/cve-2024-24826-exiv2-has-an-out-of-bounds-read-in-quicktimevideo)
- [PYSEC-2023-233 - Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP…](https://junglewise.ai/threats/cve-2023-44398-pysec-2023-233-exiv2-is-a-c-library-and-a-command-line-utility-to)
