Description
Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.
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.25-4 | — |
| Debian 13 | exiv2 | 0.25-4 | — |
| Debian 12 | exiv2 | 0.25-4 | — |
| Debian 9 | exiv2 | 0.25-3.1+deb9u1 | DSA-4238-1 |
| Debian 8 | exiv2 | 0.24-4.1+deb8u1 | DLA-1402-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | exiv2 | 0.25-3.1ubuntu0.18.04.1 | USN-3700-1 |
| Ubuntu 16.04 LTS | exiv2 | 0.25-2.1ubuntu16.04.2 | USN-3700-1 |
| Ubuntu 14.04 LTS | exiv2 | 0.23-1ubuntu2.1 | USN-3700-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | exiv2 +3 | 0.27.0-2.el7_6 | RHSA-2019:2101 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | exiv2 | 0.26-6.8.1 | SUSE-SU-2020:0921-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | exiv2 | 0.26-lp151.7.3.1 | openSUSE-SU-2020:0482-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | exiv2 +3 | 0.27.0-3.amzn2.0.1 | ALAS2-2019-1339 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | exiv2 +3 | 0.27.0-2.el7_6 | ELSA-2019-2101 |
Advisories 9
- WID-SEC-2022-0517 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2019:2101 Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-3700-1 exiv2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4238-1 exiv2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1402-1 exiv2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2020:0921-1 Security update for exiv2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0482-1 Security update for exiv2 SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2019-1339 Low: exiv2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 24, 2019
- ELSA-2019-2101 Low: exiv2 security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 13, 2019
References
- https://github.com/TeamSeri0us/pocs/blob/master/exiv2/1-out-of-read-Poc
- USN-3700-1 vendor-advisory
- DSA-4238 vendor-advisory
- GLSA-201811-14 vendor-advisory
- [debian-lts-announce] 20180628 [SECURITY] [DLA 1402-1] exiv2 security update mailing-list
- https://github.com/Exiv2/exiv2/issues/365
- RHSA-2019:2101 vendor-advisory
- openSUSE-SU-2020:0482 vendor-advisory