CVE-2018-9305 json
In Exiv2 0.26, an out-of-bounds read in IptcData::printStructure in iptc.c could result in a crash or information leak, related to the "==…
published 2018-04-04 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-20899
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
In Exiv2 0.26, an out-of-bounds read in IptcData::printStructure in iptc.c could result in a crash or information leak, related to the "== 0x1c" case.
Patch / fix
- exiv2 exiv2 0.26
- 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 SLE Module for Desktop Applications 15 SP1 0.26-6.8.1
suse advisories SUSE-SU-2020:0921-1
- exiv2 openSUSE Tumbleweed 0.27.5-4.1
- exiv2 openSUSE Leap 15.1 0.26-lp151.7.3.1
opensuse advisories openSUSE-SU-2024:12399-1openSUSE-SU-2020:0482-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-9305 updated cvss 4.4
exiv2: out of bounds read in IptcData::printStructure in iptc.c
-
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 Enterprise Linux 6 exiv2, exiv2-libsnot affected: vulnerable code not present
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
1.92% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Exiv2/exiv2/issues/263 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/xiaoqx/pocs/blob/master/exiv2/readme.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/Exiv2/exiv2/issues/263
exploit, issue-tracking, patch
-
github.com
/xiaoqx/pocs/blob/master/exiv2/readme.md
exploit, third-party-advisory
-
security.gentoo.org
/glsa/201811-14
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:2101
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-04/msg00009.html
vendor-advisory
Sources
- CVE List CVE-2018-9305
- NVD CVE-2018-9305
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.