Skip to content
OpenAdvisories
Low · 2.7 CVE-2026-27631 EUVD-2026-9263

Exiv2: Uncaught exception - cannot create std::vector larger than max_size()

Published Mar 2, 2026 · Updated Mar 2, 2026 · Assigned by GitHub_M

Description

Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. Prior to version 0.28.8, an uncaught exception was found in Exiv2. The vulnerability is in the preview component, which is only triggered when running Exiv2 with an extra command line argument, like -pp. Due to an integer overflow, the code attempts to create a huge std::vector, which causes Exiv2 to crash with an uncaught exception. This issue has been patched in version 0.28.8.

Affected products

VendorProductAffectedFixed
Exiv2 exiv2 < 0.28.8 —

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.8+dfsg-1 —
Debian 13 exiv2 No fix yet —
Debian 12 exiv2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 exiv2 0.28.5+dfsg-1ubuntu0.1 —
Ubuntu 24.04 LTS exiv2 0.27.6-1ubuntu0.1 —
Ubuntu 22.04 LTS exiv2 0.27.5-3ubuntu1.1 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS exiv2 0.27.2-8ubuntu2.7+esm1 —
Ubuntu Pro 18.04 LTS exiv2 0.25-3.1ubuntu0.18.04.11+esm1 —
Ubuntu Pro 16.04 LTS exiv2 0.25-2.1ubuntu16.04.7+esm5 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 exiv2 0.27.5-150400.15.7.1 SUSE-SU-2026:2584-1
SLES 12 SP5 exiv2 0.23-12.26.1 SUSE-SU-2026:2663-1
Show 2 more (older releases, extended support, other products)
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.8-1.1 openSUSE-SU-2026:10298-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.9-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 exiv2 +3 0.28.5-132.amzn2023 ALAS2023-2026-1480
Amazon Linux 2 exiv2 +3 0.27.0-4.amzn2.0.7 ALAS2-2026-3201

Azure Linux

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

Advisories 7

References