exiv2: Infinite loop in Exiv2::Jp2Image::encodeJp2Header resulting in a denial of service
Published Dec 12, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.29%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
exiv2-0:0.27.0-2.el7_6
Fixed · RHSA-2019:2101
Red Hat Enterprise Linux 8
exiv2-0:0.27.2-5.el8
Fixed · RHSA-2020:1577
Red Hat Enterprise Linux 8
gegl-0:0.2.0-39.el8
Fixed · RHSA-2020:1577
Red Hat Enterprise Linux 8
gnome-color-manager-0:3.28.0-3.el8
Fixed · RHSA-2020:1577
Red Hat Enterprise Linux 8
libgexiv2-0:0.10.8-4.el8
Fixed · RHSA-2020:1577
Red Hat Enterprise Linux 6
exiv2
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | exiv2-0:0.27.0-2.el7_6 | Fixed | RHSA-2019:2101 |
| Red Hat Enterprise Linux 8 | exiv2-0:0.27.2-5.el8 | Fixed | RHSA-2020:1577 |
| Red Hat Enterprise Linux 8 | gegl-0:0.2.0-39.el8 | Fixed | RHSA-2020:1577 |
| Red Hat Enterprise Linux 8 | gnome-color-manager-0:3.28.0-3.el8 | Fixed | RHSA-2020:1577 |
| Red Hat Enterprise Linux 8 | libgexiv2-0:0.10.8-4.el8 | Fixed | RHSA-2020:1577 |
| Red Hat Enterprise Linux 6 | exiv2 | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of exiv2 as shipped with Red Hat Enterprise Linux 6. This issue affects the versions of exiv2 as shipped with Red Hat Enterprise Linux 7. Red Hat Product Security has rated this issue as having a security impact of Low. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.29% (0.02289) | 82.58th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.29% (0.02289) | 80.89th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.47% (0.00468) | 62.44th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.40% (0.00401) | 74.47th | v3 (v2023.03.01) |
| May 4, 2024 | 0.40% (0.00401) | 73.47th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00435) | 73.94th | v3 (v2023.03.01) |
| Dec 6, 2023 | 0.43% (0.00435) | 71.80th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00374) | 68.43th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.62% (0.01623) | 33.90th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.62% (0.01623) | 0.00th | v1 |
References (8)
- https://access.redhat.com/errata/RHSA-2019:2101 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-20099 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1660426 Issue Tracking
- https://github.com/Exiv2/exiv2/issues/590 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/TeamSeri0us/pocs/tree/master/exiv2/20181206 x_refsource_MISCExploitThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXCEKTYF7HLM6VH2WCWO2HXTJH37MBLA/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2018-20099
- https://www.cve.org/CVERecord?id=CVE-2018-20099
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:2101 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2018-20099 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1660426 | Issue Tracking | |
| https://github.com/Exiv2/exiv2/issues/590 | x_refsource_MISCIssue TrackingPatchThird Party Advisory | |
| https://github.com/TeamSeri0us/pocs/tree/master/exiv2/20181206 | x_refsource_MISCExploitThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXCEKTYF7HLM6VH2WCWO2HXTJH37MBLA/ | vendor-advisoryx_refsource_FEDORA | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-20099 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-20099 |
Change history (0)
No recorded changes yet.