Description
Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.
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.27.3-1 | — |
| Debian 13 | exiv2 | 0.27.3-1 | — |
| Debian 12 | exiv2 | 0.27.3-1 | — |
| Debian 10 | exiv2 | 0.25-4+deb10u4 | DLA-3265-1 |
| Debian 8 | exiv2 | 0.24-4.1+deb8u5 | DLA-2019-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | exiv2 | 0.25-3.1ubuntu0.18.04.4 | USN-4159-1 |
| Ubuntu 16.04 LTS | exiv2 | 0.25-2.1ubuntu16.04.5 | USN-4159-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | exiv2 +3 | 0.27.3-2.el8 | RHSA-2021:1758 |
| RHEL 7 | exiv2 +3 | 0.27.0-3.el7_8 | RHSA-2020:4030 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | exiv2-doc +1 | 0.27.3-2.el8 | ALSA-2021:1758 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | exiv2 | 0.27.3-2.el8 | RLSA-2021:1758 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | exiv2-0_26 | 0.26-150400.9.21.1 | SUSE-SU-2022:4208-1 |
| SLES 15 SP3 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLES 15 SP2 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLES 15 SP1 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLES 15 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | exiv2 | 0.23-12.8.1 | SUSE-SU-2020:0860-1 |
| SLES 12 SP4 | exiv2 | 0.23-12.8.1 | SUSE-SU-2020:0860-1 |
| SLES for SAP 15 SP2 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLES for SAP 15 SP1 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLES for SAP 15 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLES for SAP 12 SP5 | exiv2 | 0.23-12.8.1 | SUSE-SU-2020:0860-1 |
| SLES for SAP 12 SP4 | exiv2 | 0.23-12.8.1 | SUSE-SU-2020:0860-1 |
| SLE HPC 15 SP2 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLE HPC 15 SP1 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SLE HPC 15 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SUSE Manager Server 4.1 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SUSE Manager Retail Branch Server 4.1 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SUSE Manager Proxy 4.1 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SUSE Enterprise Storage 7 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
| SUSE Enterprise Storage 6 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | exiv2-0_26 | 0.26-150400.9.21.1 | SUSE-SU-2022:4208-1 |
| openSUSE Leap 15.3 | exiv2 | 0.26-150000.6.26.1 | SUSE-SU-2022:4276-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.23 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.22 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.21 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.20 | exiv2 | 0.27.2-r2 | — |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.18 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.17 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.16 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.15 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.14 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.13 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.12 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.11 | exiv2 | 0.27.2-r2 | — |
| Alpine v3.10 | exiv2 | 0.26-r1 | — |
| Alpine v3.9 | exiv2 | 0.26-r1 | — |
| Alpine v3.8 | exiv2 | 0.26-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | exiv2 +3 | 0.27.0-3.amzn2.0.2 | ALAS2-2020-1512 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | exiv2 | 0.27.5-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | exiv2 +3 | 0.27.3-2.el8 | ELSA-2021-1758 |
| Oracle Linux 7 | exiv2 +3 | 0.27.0-3.el7_8 | ELSA-2020-4030 |
Advisories 14
- ALSA-2021:1758 Low: exiv2 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2020:4030 Red Hat Security Advisory: exiv2 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2021:1758 Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-4159-1 exiv2 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-2019-1 exiv2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3265-1 exiv2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:1758 Low: exiv2 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2022:4208-1 Security update for exiv2-0_26 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4276-1 Security update for exiv2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0860-1 Security update for exiv2 SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0012 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 5, 2026
- ELSA-2021-1758 Low: exiv2 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 25, 2021
- ALAS2-2020-1512 Low: exiv2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 22, 2020
- ELSA-2020-4030 Low: exiv2 security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020