CVE-2018-17581 json
CiffDirectory::readDirectory() at crwimage_int.cpp in Exiv2 0.26 has excessive stack consumption due to a recursive function, leading to De…
published 2018-09-28 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-0064
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
CiffDirectory::readDirectory() at crwimage_int.cpp in Exiv2 0.26 has excessive stack consumption due to a recursive function, leading to Denial of service.
Patch / fix
- exiv2 Debian 14, Debian 13, Debian 12 0.27.2-6
debian advisories DEBIAN-CVE-2018-17581
- exiv2 Ubuntu 14.04 LTS 0.23-1ubuntu2.2
- exiv2 Ubuntu 16.04 LTS 0.25-2.1ubuntu16.04.3
- exiv2 Ubuntu 18.04 LTS 0.25-3.1ubuntu0.18.04.2
ubuntu advisories UBUNTU-CVE-2018-17581
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- exiv2 RHEL 8 0.27.2-5.el8
- gegl RHEL 8 0.2.0-39.el8
- libgexiv2 RHEL 8 0.10.8-4.el8
- exiv2-libs RHEL 8 0.27.2-5.el8
- gnome-color-manager RHEL 8 3.28.0-3.el8
- exiv2 RHEL 7 0.27.0-2.el7_6
- exiv2-libs RHEL 7 0.27.0-2.el7_6
red hat advisories RHSA-2020:1577RHSA-2019:2101
- exiv2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +18 more 0.26-150000.6.26.1
- exiv2-0_26 SLE Module for Desktop Applications 15 SP4, openSUSE Leap 15.4 0.26-150400.9.21.1
- exiv2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +3 more 0.23-12.8.1
suse advisories SUSE-SU-2022:4276-1SUSE-SU-2022:4208-1SUSE-SU-2020:0860-1
- gegl AlmaLinux 8 0.2.0-39.el8
- libgexiv2 AlmaLinux 8 0.10.8-4.el8
- gnome-color-manager AlmaLinux 8 3.28.0-3.el8
almalinux advisories ALSA-2020:1577
- exiv2 Rocky Linux 8 0.27.2-5.el8
- gegl Rocky Linux 8 0.2.0-39.el8
- libgexiv2 Rocky Linux 8 0.10.8-4.el8
- gnome-color-manager Rocky Linux 8 3.28.0-3.el8
rocky linux advisories RLSA-2020:1577
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-17581 updated cvss 3.3
exiv2: Stack overflow in CiffDirectory::readDirectory() at crwimage_int.cpp leading to denial of service
-
Red Hat Enterprise Linux 6 exiv2, exiv2-libsaffected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) exiv2 0.27.2-5.el8, libgexiv2 0.10.8-4.el8, exiv2-libs 0.27.2-5.el8 Red Hat Enterprise Linux AppStream (v. 8) gegl 0.2.0-39.el8, exiv2 0.27.2-5.el8, libgexiv2 0.10.8-4.el8, exiv2-libs 0.27.2-5.el8, gnome-color-manager 3.28.0-3.el8fixed: vendor fix RHSA-2020:1577
-
Red Hat Enterprise Linux Client (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux Client Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6 Red Hat Enterprise Linux ComputeNode (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux ComputeNode Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6 Red Hat Enterprise Linux Server (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux Server Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6fixed: vendor fix RHSA-2019:2101
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) exiv2 0.27.0-2.el7_6, exiv2-libs 0.27.0-2.el7_6 Red Hat Enterprise Linux Workstation Optional (v. 7) exiv2-doc 0.27.0-2.el7_6, exiv2-devel 0.27.0-2.el7_6, exiv2-debuginfo 0.27.0-2.el7_6
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.35% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Exiv2/exiv2/issues/460 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/SegfaultMasters/covering360/blob/master/Exiv2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/Exiv2/exiv2/issues/460
exploit, patch, third-party-advisory
-
github.com
/SegfaultMasters/covering360/blob/master/Exiv2
exploit, patch, third-party-advisory
-
usn.ubuntu.com
/3852-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2101
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/02/msg00038.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/01/msg00004.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-17581
- NVD CVE-2018-17581
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.