Description
Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. An out-of-bounds read was found in Exiv2 versions 0.28.5 and earlier. The out-of-bounds read is triggered when Exiv2 is used to write metadata into a crafted image file. An attacker could potentially exploit the vulnerability to cause a denial of service by crashing Exiv2, if they can trick the victim into running Exiv2 on a crafted image file. Note that this bug is only triggered when writing the metadata, which is a less frequently used Exiv2 operation than reading the metadata. The bug is fixed in version 0.28.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Exiv2 | exiv2 | < 0.28.6 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | exiv2 | 0.28.7+dfsg-2 | — |
| Debian 13 | exiv2 | No fix yet | — |
| Debian 12 | exiv2 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | exiv2 | 0.23-12.26.1 | SUSE-SU-2026:2663-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | exiv2 | 0.28.6-r0 | — |
| Alpine v3.23 | exiv2 | 0.28.6-r0 | — |
| Alpine v3.22 | exiv2 | 0.28.6-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | exiv2 +3 | 0.28.5-129.amzn2023 | ALAS2023-2025-1296 |
| Amazon Linux 2 | exiv2 +3 | 0.27.0-4.amzn2.0.6 | ALAS2-2025-3086 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | exiv2 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | exiv2 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | exiv2 | <= 0.17.3 | — | GHSA-496f-x7cq-cq39 |
Advisories 6
- SUSE-SU-2026:2663-1 Security update for exiv2 SUSE / openSUSE Security Updates · Jun 27, 2026
- SUSE-SU-2026:20923-1 Security update for exiv2 SUSE / openSUSE Security Updates · Apr 2, 2026
- openSUSE-SU-2026:20410-1 Security update for exiv2 SUSE / openSUSE Security Updates · Mar 29, 2026
- openSUSE-SU-2026:10298-1 exiv2-0.28.8-1.1 on GA media SUSE / openSUSE Security Updates · Mar 8, 2026
- ALAS2023-2025-1296 Moderate: exiv2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 8, 2025
- ALAS2-2025-3086 Moderate: exiv2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 8, 2025