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 write was found in Exiv2 version v0.28.0. The vulnerable function, `BmffImage::brotliUncompress`, is new in v0.28.0, so earlier versions of Exiv2 are _not_ affected. The out-of-bounds write is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to gain code execution, if they can trick the victim into running Exiv2 on a crafted image file. This bug is fixed in version v0.28.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Exiv2 | exiv2 | = 0.28.0 | — |
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.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | exiv2 | 0.28.1-1.1 | openSUSE-SU-2024:13403-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | exiv2 | 0.28.1-r0 | — |
| Alpine v3.23 | exiv2 | 0.28.1-r0 | — |
| Alpine v3.22 | exiv2 | 0.28.1-r0 | — |
| Alpine v3.21 | exiv2 | 0.28.1-r0 | — |
| Alpine v3.20 | exiv2 | 0.28.1-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | exiv2 | 0.28.1-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | exiv2 | 0.28.3-1 | — |
| Azure Linux 2 (CBL-Mariner) | exiv2 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | exiv2 | all versions | — | PYSEC-2023-233 |
Advisories 1
- openSUSE-SU-2024:13403-1 exiv2-0.28.1-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025