CVE-2026-27596Exiv2: 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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | exiv2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | exiv2 | Fixed | 0.28.5+dfsg-1ubuntu0.1 | UBUNTU-CVE-2026-27596 |
| Ubuntu 24.04 | exiv2 | Fixed | 0.27.6-1ubuntu0.1 | UBUNTU-CVE-2026-27596 |
| Ubuntu 22.04 | exiv2 | Fixed | 0.27.5-3ubuntu1.1 | UBUNTU-CVE-2026-27596 |
| Ubuntu 20.04 | exiv2 | Fix pending | 0.27.2-8ubuntu2.7+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-27596 |
| Ubuntu 18.04 | exiv2 | Fix pending | 0.25-3.1ubuntu0.18.04.11+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-27596 |
| Ubuntu 16.04 | exiv2 | Fix pending | 0.25-2.1ubuntu16.04.7+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-27596 |
| Debian 14 | exiv2 | Fixed | 0.28.8+dfsg-1 | DEBIAN-CVE-2026-27596 |
| Debian 13 | exiv2 | Fix pending | DEBIAN-CVE-2026-27596 | |
| Debian 12 | exiv2 | Fix pending | DEBIAN-CVE-2026-27596 | |
| Red Hat Enterprise Linux 10 | exiv2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | exiv2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | exiv2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | exiv2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | exiv2-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | compat-exiv2-026 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | exiv2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | exiv2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | exiv2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | exiv2-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | compat-exiv2-023 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | compat-exiv2-026 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | exiv2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | exiv2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | exiv2-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | exiv2-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | exiv2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | exiv2-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | exiv2-libs | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | exiv2 | Fixed | 0.28.9-r0 | ALPINE-CVE-2026-27596 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- exiv2: affected: < 0.28.8
References
- https://github.com/Exiv2/exiv2/security/advisories/GHSA-3wgv-fg4w-75x7
- https://github.com/Exiv2/exiv2/issues/3511
- https://github.com/Exiv2/exiv2/pull/3512
- https://github.com/Exiv2/exiv2/commit/eaa9e21aabe06b3f91cfe66686f5ebc3ca3c0ed4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.