CVE Vulnerabilities

CVE-2024-25112

Uncontrolled Recursion

Published: Feb 12, 2024 | Modified: Oct 16, 2024
CVSS 3.x
5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Exiv2 Exiv2 0.28.0 (including) 0.28.0 (including)
Exiv2 Exiv2 0.28.1 (including) 0.28.1 (including)
Exiv2 Ubuntu bionic *
Exiv2 Ubuntu trusty *
Exiv2 Ubuntu upstream *
Exiv2 Ubuntu xenial *

Potential Mitigations

References