Medium

Exiv2 has a denial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder

  • Disclosed: 12.02.2024
  • Updated: 11.10.2026 15:17

Impact

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 (see https://github.com/Exiv2/exiv2/pull/2337), so Exiv2 versions before v0.28 are not affected. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The denial-of-service is triggered when Exiv2 is used to read the metadata of a crafted video file.

Patches

The bug is fixed in version v0.28.2.

For more information

Please see our security policy for information about Exiv2 security.

Credit

This bug was found by OSS-Fuzz.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) exiv2 >= 0.16.0, < 0.16.1 0.16.1

References

CVSS score 5.5/10
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400, CWE-674
Platform
Python (PyPI)
Package
exiv2
Disclosed
12.02.2024
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2024-107 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-crmj-qh74-2r36 - CC BY 4.0

Vulnerability history: exiv2

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (15) in the archive
Total entries
15
First → latest
05.2017 08.2025
Without a fix
12
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 10
  • Low 2

Disclosures per year

  1. 2017: 1
  2. 2018: 4
  3. 2019: 1
  4. 2020: 0
  5. 2021: 2
  6. 2022: 0
  7. 2023: 2
  8. 2024: 2
  9. 2025: 3
  10. 2026: 0
Severity:
  1. Exiv2 has a denial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder this entry
    Medium · 5.5 CVE-2024-25112 >= 0.16.0, < 0.16.1 0.16.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.