Every CVE Search/ Get API key

CVE-2026-27596

Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow

2.7 LowFix available

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

0.42%Up 0.4 points since Mar 3, 2026
90%50%10%1%

What each source reports

CVE List Score used 2.7

Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
CVE-2026-27596
CVSS 4.0
2.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Weakness
CWE-125, CWE-191
Updated
2026-11-02
EUVDEUVD-2026-9262 2.7

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
EUVD-2026-9262
CVSS 4.0
2.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Updated
2026-11-02
NVD 2.7

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
CVE-2026-27596
CVSS 4.0
2.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125, CWE-191
Updated
2026-11-02
OSVALPINE-CVE-2026-27596 7.5

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
ALPINE-CVE-2026-27596
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 2.7

Exiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer Overflow

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
CVE-2026-27596
CVSS 4.0
2.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Weakness
CWE-125, CWE-191
Updated
2026-11-02
OSVDEBIAN-CVE-2026-27596 7.5

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
DEBIAN-CVE-2026-27596
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVJLSEC-2026-1317 2.7

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
JLSEC-2026-1317
CVSS 4.0
2.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-1564 7.5

exiv2 security update

Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.

Security Fix(es):

An out-of-bounds read was found in Exiv2 version v0.28.7. The vulnerability is in the CRW image parser. The bug is reproducible with our fuzz target, but we have not been able to reproduce it with the exiv2 command line application. 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.(CVE-2026-25884)

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.(CVE-2026-27596)

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.(CVE-2026-27631)

Record
OESA-2026-1564
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-27596 2.7

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
UBUNTU-CVE-2026-27596
CVSS 4.0
2.7 LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-78521 No score

CVE-2026-27596 affecting package exiv2 0.28.3-1

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
AZL-78521
Updated
2026-11-02
OSVAZL-78624 No score

CVE-2026-27596 affecting package exiv2 0.28.0-1

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 out-of-bounds read 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. The out-of-bounds read is at a 4GB offset, which usually causes Exiv2 to crash. This issue has been patched in version 0.28.8.

Record
AZL-78624
Updated
2026-11-02
OSVCLSA-2026-1774266009 No score

exiv2: Fix of 2 CVEs

  • CVE-2026-25884: fix out-of-bounds read in CRW image parser
  • CVE-2026-27596: fix integer underflow in preview component
Record
CLSA-2026-1774266009
Updated
2026-11-02
OSVCLSA-2026-1774266713 No score

exiv2: Fix of 2 CVEs

  • CVE-2026-25884: fix out-of-bounds read in CRW image parser
  • CVE-2026-27596: fix integer underflow in preview component
Record
CLSA-2026-1774266713
Updated
2026-11-02
OSVCLSA-2026-1787932207 No score

Fix CVE(s): CVE-2020-18771, CVE-2026-25884, CVE-2026-27596

  • SECURITY UPDATE: out-of-bounds read in the Nikon MakerNote printer
    • debian/patches/CVE-2020-18771.patch: bound the nikonFocusarea[] index in Nikon1MakerNote::print0x0088() with EXV_COUNTOF(), so a crafted MakerNote cannot make the printer read a pointer from past the end of the table (upstream 5e6c2855ce, via Debian DLA-3265-1).
    • CVE-2020-18771
  • SECURITY UPDATE: out-of-bounds read in the native preview loader
    • debian/patches/CVE-2026-27596.patch: require sizeData >= 28 in LoaderNative::getData() before subtracting 28, so a Photoshop preview IRB declaring a shorter payload cannot wrap the length to nearly 4 GB (upstream 2cb728a850).
    • CVE-2026-27596
Record
CLSA-2026-1787932207
Updated
2026-11-02
OSVopenSUSE-SU-2026:20410-1 No score

Security update for exiv2

This update for exiv2 fixes the following issues:

Update to exiv2 0.28.8:

  • CVE-2024-24826: out-of-bounds read in QuickTimeVideo: NikonTagsDecoder (bsc#1219870).
  • CVE-2024-25112: denial of service due to unbounded recursion in QuickTimeVideo: multipleEntriesDecoder (bsc#1219871).
  • CVE-2024-39695: out-of-bounds read in AsfVideo: streamProperties (bsc#1227528).
  • CVE-2025-26623: heap buffer overflow via writing metadata into a crafted image file (bsc#1237347).
  • CVE-2025-54080: out-of-bounds read in Exiv2: EpsImage: writeMetadata() when writing metadata into a crafted image file (bsc#1248962).
  • CVE-2025-55304: quadratic performance algorithm in the ICC profile parsing code of JpegBase: readMetadata (bsc#1248963).
  • CVE-2026-25884: out-of-bounds read in CrwMap: decode0x0805 (bsc#1259083).
  • CVE-2026-27596: integer overflow in LoaderNative: getData() leads to out-of-bounds read (bsc#1259084).
  • CVE-2026-27631: crash due to uncaught exception when trying to create std: vector larger than max_size() (bsc#1259085).
Record
openSUSE-SU-2026:20410-1
Updated
2026-11-02
OSVSUSE-SU-2026:20923-1 No score

Security update for exiv2

This update for exiv2 fixes the following issues:

Update to exiv2 0.28.8:

  • CVE-2024-24826: out-of-bounds read in QuickTimeVideo: NikonTagsDecoder (bsc#1219870).
  • CVE-2024-25112: denial of service due to unbounded recursion in QuickTimeVideo: multipleEntriesDecoder (bsc#1219871).
  • CVE-2024-39695: out-of-bounds read in AsfVideo: streamProperties (bsc#1227528).
  • CVE-2025-26623: heap buffer overflow via writing metadata into a crafted image file (bsc#1237347).
  • CVE-2025-54080: out-of-bounds read in Exiv2: EpsImage: writeMetadata() when writing metadata into a crafted image file (bsc#1248962).
  • CVE-2025-55304: quadratic performance algorithm in the ICC profile parsing code of JpegBase: readMetadata (bsc#1248963).
  • CVE-2026-25884: out-of-bounds read in CrwMap: decode0x0805 (bsc#1259083).
  • CVE-2026-27596: integer overflow in LoaderNative: getData() leads to out-of-bounds read (bsc#1259084).
  • CVE-2026-27631: crash due to uncaught exception when trying to create std: vector larger than max_size() (bsc#1259085).
Record
SUSE-SU-2026:20923-1
Updated
2026-11-02
OSVSUSE-SU-2026:2584-1 No score

Security update for exiv2

This update for exiv2 fixes the following issues

  • CVE-2021-34334: DoS due to integer overflow in loop counter (bsc#1189338).
  • CVE-2026-25884: out-of-bounds read in CrwMap: decode0x0805 (bsc#1259083).
  • CVE-2026-27596: integer overflow in LoaderNative: getData() leads to out-of-bounds read (bsc#1259084).
  • CVE-2026-27631: crash due to uncaught exception when trying to create std: vector larger than max_size() (bsc#1259085).

Changes for exiv2:

  • Minor bugs and fixes
  • Other improvements
  • exivsimple has array index errors when stripping quotes form TIFF parser,Binary array elements should be decoded using the Add option -K Key (--key Key) to specify one or more keys to 'exiv2 -eX' followed by 'exiv2 -iX' produces invalid XMP
  • This release introduces support for Postscript (EPS) images. XMP metadata can be read and written from/to EPS images and previews are accessible. Further it includes a new build environment for MSVC 64 bit
  • fix build with gcc 4.3 (upstream backport)
  • Fix 'Since v0.14 the version check macro doesn't work in a precompiler
Record
SUSE-SU-2026:2584-1
Updated
2026-11-02
OSVSUSE-SU-2026:2663-1 No score

Security update for exiv2

This update for exiv2 fixes the following issues

  • CVE-2025-54080: out-of-bounds read in Exiv2::EpsImage::writeMetadata() when writing metadata into a crafted image file (bsc#1248962).
  • CVE-2026-25884: out-of-bounds read in CrwMap::decode0x0805 (bsc#1259083).
  • CVE-2026-27596: integer overflow in LoaderNative::getData() leads to out-of-bounds read (bsc#1259084).
  • CVE-2026-27631: crash due to uncaught exception when trying to create std::vector larger than max_size() (bsc#1259085).
Record
SUSE-SU-2026:2663-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
exiv2
Alpine:v3.24
before 0.28.9-r0
0.28.9-r0
exiv2
Azure Linux:3
through 0.28.3-1 None known
exiv2
Azure Linux:2
through 0.28.0-1 None known
exiv2
TuxCare:AlmaLinux:9.6
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2-devel
TuxCare:AlmaLinux:9.6
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2-doc
TuxCare:AlmaLinux:9.6
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2-libs
TuxCare:AlmaLinux:9.6
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2
TuxCare:AlmaLinux:9.2
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2-devel
TuxCare:AlmaLinux:9.2
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2-doc
TuxCare:AlmaLinux:9.2
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
Show 26 moreShow less
Affected packages
PackageAffectedFixed
exiv2-libs
TuxCare:AlmaLinux:9.2
before 0.27.5-2.el9.tuxcare.els3
0.27.5-2.el9.tuxcare.els3
exiv2
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
libexiv2-14
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
libexiv2-dev
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
libexiv2-doc
TuxCare:Ubuntu:18.04
before 0.25-3.1ubuntu0.18.04.11+tuxcare.els2
0.25-3.1ubuntu0.18.04.11+tuxcare.els2
exiv2
Debian:12
All versions, plus listed versions
0.27.6-10.28.0+dfsg-10.28.0+dfsg-20.28.0+dfsg-30.28.0+dfsg-4
Show 13 moreShow less
0.28.1+dfsg-10.28.1+dfsg-20.28.1+dfsg-30.28.2+dfsg-10.28.3+dfsg-10.28.3+dfsg-20.28.4+dfsg-10.28.4+dfsg-20.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Debian:13
All versions, plus listed versions
0.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Debian:14
before 0.28.8+dfsg-1, plus listed versions
0.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-2
0.28.8+dfsg-1
Exiv2_jll
Julia
All versions None known
exiv2
openEuler:24.03-LTS-SP2
before 0.28.2-8.oe2403sp2
0.28.2-8.oe2403sp2
exiv2
openEuler:24.03-LTS-SP3
before 0.28.2-8.oe2403sp3
0.28.2-8.oe2403sp3
exiv2
openEuler:20.03-LTS-SP4
before 0.27.5-7.oe2003sp4
0.27.5-7.oe2003sp4
exiv2
openEuler:22.03-LTS-SP4
before 0.27.5-7.oe2203sp4
0.27.5-7.oe2203sp4
exiv2
openEuler:24.03-LTS
before 0.28.2-8.oe2403sp1
0.28.2-8.oe2403sp1
exiv2
openEuler:24.03-LTS-SP1
before 0.28.2-8.oe2403sp1
0.28.2-8.oe2403sp1
exiv2
SUSE:Linux Enterprise Server 16.0
before 0.28.8-160000.1.1
0.28.8-160000.1.1
exiv2
SUSE:Linux Enterprise Server for SAP applications 16.0
before 0.28.8-160000.1.1
0.28.8-160000.1.1
exiv2
SUSE:Linux Enterprise Module for Desktop Applications 15 SP7
before 0.27.5-150400.15.7.1
0.27.5-150400.15.7.1
exiv2
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 0.23-12.26.1
0.23-12.26.1
exiv2
Ubuntu:Pro:16.04:LTS
before 0.25-2.1ubuntu16.04.7+esm5, plus listed versions
0.25-1ubuntu10.25-2.10.25-2.1ubuntu16.04.10.25-2.1ubuntu16.04.20.25-2.1ubuntu16.04.3
Show 7 moreShow less
0.25-2.1ubuntu16.04.40.25-2.1ubuntu16.04.50.25-2.1ubuntu16.04.60.25-2.1ubuntu16.04.7+esm10.25-2.1ubuntu16.04.7+esm20.25-2.1ubuntu16.04.7+esm30.25-2.1ubuntu16.04.7+esm4
0.25-2.1ubuntu16.04.7+esm5
exiv2
Ubuntu:Pro:18.04:LTS
before 0.25-3.1ubuntu0.18.04.11+esm1, plus listed versions
0.25-3.10.25-3.1ubuntu0.18.04.10.25-3.1ubuntu0.18.04.20.25-3.1ubuntu0.18.04.30.25-3.1ubuntu0.18.04.4
Show 5 moreShow less
0.25-3.1ubuntu0.18.04.50.25-3.1ubuntu0.18.04.70.25-3.1ubuntu0.18.04.90.25-3.1ubuntu0.18.04.100.25-3.1ubuntu0.18.04.11
0.25-3.1ubuntu0.18.04.11+esm1
exiv2
Ubuntu:Pro:20.04:LTS
before 0.27.2-8ubuntu2.7+esm1, plus listed versions
0.25-4ubuntu20.25-4ubuntu30.27.2-8ubuntu20.27.2-8ubuntu2.20.27.2-8ubuntu2.40.27.2-8ubuntu2.50.27.2-8ubuntu2.60.27.2-8ubuntu2.7
0.27.2-8ubuntu2.7+esm1
exiv2
Ubuntu:22.04:LTS
before 0.27.5-3ubuntu1.1, plus listed versions
0.27.3-3ubuntu40.27.3-3.1ubuntu10.27.5-1ubuntu10.27.5-3ubuntu1
0.27.5-3ubuntu1.1
exiv2
Ubuntu:24.04:LTS
before 0.27.6-1ubuntu0.1, plus listed versions
0.27.6-10.27.6-1build1
0.27.6-1ubuntu0.1
exiv2
Ubuntu:25.10
before 0.28.5+dfsg-1ubuntu0.1, plus listed versions
0.28.5+dfsg-1
0.28.5+dfsg-1ubuntu0.1
exiv2
openSUSE:Leap 16.0
before 0.28.8-160000.1.1
0.28.8-160000.1.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-27596 is a low vulnerability (CVSS 2.7) in Exiv2, published March 2, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.42%, the 36th percentile. Fixed in exiv2 0.28.9-r0.

References

Show 35 moreShow less
MoveEnter Open