Out-of-Bounds Read Vulnerability in Exiv2 Package

exiv2 Updated 02 Oct 2025

Summary

12/02/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-24826: Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. Affects exiv2 versions < 0.28.3+dfsg-2. Fixed in 0.28.3+dfsg-2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Exiv2 is a command-line utility and C++ library designed for reading, writing, deleting, and modifying the metadata of image files. It supports various image formats and is widely used for managing image metadata. The package is crucial for applications that require metadata manipulation, but it has been found to have a vulnerability that could lead to crashes when processing specially crafted video files.

Vulnerability Detail

The vulnerability identified in Exiv2 is an out-of-bounds read that occurs in the function QuickTimeVideo::NikonTagsDecoder, introduced in version v0.28.0. This issue allows an attacker to craft a video file that, when processed by Exiv2, triggers an out-of-bounds read, potentially leading to application crashes. Versions prior to v0.28 are not affected, and the bug has been fixed in version v0.28.2.

How To Fix

Minimum fixed version

0.28.3+dfsg-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade exiv2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this vulnerability. The best course of action is to upgrade to the fixed version as soon as possible.

Conclusion

The out-of-bounds read vulnerability in Exiv2 poses a significant risk to applications that utilize this package for metadata manipulation. Users are strongly advised to upgrade to the latest version to mitigate potential crashes and ensure the security of their applications.

See every vulnerability recorded for exiv2 →

Share this vulnerability

FAQ

The vulnerability is an out-of-bounds read that can lead to application crashes when processing specially crafted video files.

Exiv2 versions prior to v0.28.2 are affected. Versions 0.28.0 and 0.28.1 contain the vulnerability.

You can use Vulert, which monitors open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

It is recommended to upgrade to the patched version as soon as possible, as there are no known workarounds for this vulnerability.

More information can be found in the official Debian CVE database or by checking the Exiv2 project documentation.

Related vulnerabilities

Recent vulnerabilities recorded for exiv2.

How To Fix

Minimum fixed version

0.28.3+dfsg-2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade exiv2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback