Skip to content
OpenAdvisories
Medium · 5.5 CVE-2024-24826 EUVD-2024-0057GHSA-g9xm-7538-mq8wPYSEC-2024-106

Out-of-bounds read in QuickTimeVideo::NikonTagsDecoder in Exiv2

Published Feb 12, 2024 · Updated Aug 1, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
Exiv2 exiv2 >= 0.28.0, < 0.28.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 exiv2 0.28.3+dfsg-2 —
Debian 13 exiv2 0.28.3+dfsg-2 —
Debian 12 exiv2 No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 exiv2 0.28.8-160000.1.1 SUSE-SU-2026:20923-1
SLES 16.0 exiv2 0.28.8-160000.1.1 SUSE-SU-2026:20923-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed exiv2 0.28.2-1.1 openSUSE-SU-2024:13731-1
openSUSE Leap 16.0 exiv2 0.28.8-160000.1.1 openSUSE-SU-2026:20410-1
ReleasePackageFixed inAdvisory
Alpine v3.24 exiv2 0.28.2-r0 —
Alpine v3.23 exiv2 0.28.2-r0 —
Alpine v3.22 exiv2 0.28.2-r0 —
Alpine v3.21 exiv2 0.28.2-r0 —
Alpine v3.20 exiv2 0.28.2-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 exiv2 0.28.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 exiv2 +3 0.27.0-4.amzn2.0.5 ALAS2-2025-2728

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 exiv2 0.28.3-1 —
Azure Linux 2 (CBL-Mariner) exiv2 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI exiv2 >= 0.16.0, < 0.16.1 0.16.1 GHSA-g9xm-7538-mq8w

Advisories 4

References