---
id: CVE-2024-24826
aliases:
  - GHSA-g9xm-7538-mq8w
  - PYSEC-2024-106
title: 'Exiv2 has an out-of-bounds read in QuickTimeVideo::NikonTagsDecoder'
summary: 'Exiv2 has an out-of-bounds read in QuickTimeVideo::NikonTagsDecoder'
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
vendor: exiv2
product: exiv2
ecosystem: pip
affected:
  - 'exiv2 >= 0.16.0, < 0.16.1'
patched:
  - exiv2 0.16.1
published: '2024-10-17'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:19.863691887Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-g9xm-7538-mq8w'
references:
  - url: 'https://github.com/Exiv2/exiv2/security/advisories/GHSA-g9xm-7538-mq8w'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-24826'
  - url: 'https://github.com/Exiv2/exiv2/pull/2337'
  - url: 'https://github.com/Exiv2/exiv2'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/exiv2/PYSEC-2024-106.yaml
tags:
  - osv
  - pip
epss: 0.00238
epssPercentile: 0.13225
ingestedAt: '2026-09-12T03:13:01.695Z'
---

## Overview

### 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](https://github.com/Exiv2/exiv2/security/policy) for information about Exiv2 security.

### Credit
This bug was found by [OSS-Fuzz](https://github.com/google/oss-fuzz).

## Affected packages

- `exiv2 >= 0.16.0, < 0.16.1`

## Remediation

Upgrade to a patched release:

- `exiv2 0.16.1`
