Description
There is an infinite loop in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | exiv2 +3 | 0.27.2-5.el8 | RHSA-2020:1577 |
| RHEL 8 | gegl | 0.2.0-39.el8 | RHSA-2020:1577 |
| RHEL 8 | gnome-color-manager | 3.28.0-3.el8 | RHSA-2020:1577 |
| RHEL 8 | libgexiv2 +1 | 0.10.8-4.el8 | RHSA-2020:1577 |
| RHEL 7 | exiv2 +3 | 0.27.0-2.el7_6 | RHSA-2019:2101 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | exiv2-doc +1 | 0.27.2-5.el8 | ALSA-2020:1577 |
| AlmaLinux 8 | gegl | 0.2.0-39.el8 | ALSA-2020:1577 |
| AlmaLinux 8 | gnome-color-manager | 3.28.0-3.el8 | ALSA-2020:1577 |
| AlmaLinux 8 | libgexiv2 +1 | 0.10.8-4.el8 | ALSA-2020:1577 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | exiv2 | 0.27.2-5.el8 | RLSA-2020:1577 |
| Rocky Linux 8 | gegl | 0.2.0-39.el8 | RLSA-2020:1577 |
| Rocky Linux 8 | gnome-color-manager | 3.28.0-3.el8 | RLSA-2020:1577 |
| Rocky Linux 8 | libgexiv2 | 0.10.8-4.el8 | RLSA-2020:1577 |
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 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
| 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 |
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 8 | exiv2 +3 | 0.27.2-5.el8 | ELSA-2020-1577 |
| Oracle Linux 8 | gegl | 0.2.0-39.el8 | ELSA-2020-1577 |
| Oracle Linux 8 | gnome-color-manager | 3.28.0-3.el8 | ELSA-2020-1577 |
| Oracle Linux 8 | libgexiv2 +1 | 0.10.8-4.el8 | ELSA-2020-1577 |
| Oracle Linux 7 | exiv2 +3 | 0.27.0-2.el7_6 | ELSA-2019-2101 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | exiv2 | all versions | — | PYSEC-2018-120 |
Advisories 10
- ALSA-2020:1577 Moderate: exiv2 security, bug fix, and enhancement update AlmaLinux Security Advisories · Nov 5, 2026
- WID-SEC-2022-0517 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- RHSA-2020:1577 Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2019:2101 Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RLSA-2020:1577 Moderate: 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
- ELSA-2020-1577 Moderate: exiv2 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 5, 2020
- 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/Exiv2/exiv2/issues/590
- https://github.com/TeamSeri0us/pocs/tree/master/exiv2/20181206
- FEDORA-2019-c9cbbbb5c0 vendor-advisory
- RHSA-2019:2101 vendor-advisory