CVE-2024-24826: Exiv2 has an out-of-bounds read in QuickTimeVideo::NikonTagsDecoder

CVE-2024-24826 · 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. An out-of-bounds read was found in Exiv2 version v0.28.1. The vulnerable function, `QuickTimeVideo::NikonTagsDecoder`, was new in v0.28.0, so Exiv2 versions before v0.28 are _not_ affected. The out-of-bounds read is triggered when Exiv2 is used to read the metadata of a crafted video file. In most cases this out of bounds read will result in a crash. 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-24826 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-24826 being exploited in the wild.
How severe is CVE-2024-24826?
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-24826?
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-24826?
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-24826
  • GHSA-g9xm-7538-mq8w
  • PYSEC-2024-106

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