Advisory

GHSA-g9xm-7538-mq8w

Also known as: CVE-2024-24826, PYSEC-2024-106

Summary

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

Details

Impact
An out-of-bounds read was found in Exiv2 version v0.28.1. The vulnerable function, QuickTimeVideo::NikonTagsDecoder, 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 out-of-bounds read 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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-17 17:12 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

exiv2

PyPI · All systems

Affected

  • introduced 0.16.0, fixed 0.16.1 (ecosystem)

Fixed versions

0.16.1

Fix

  • Fixed version 0.16.1
    pip install --upgrade exiv2==0.16.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences