CVE-2018-14338 json
samples/geotag.cpp in the example code of Exiv2 0.26 misuses the realpath function on POSIX platforms (other than Apple platforms) where gl…
published 2018-07-17 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-0059
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
samples/geotag.cpp in the example code of Exiv2 0.26 misuses the realpath function on POSIX platforms (other than Apple platforms) where glibc is not used, possibly leading to a buffer overflow.
Patch / fix
- 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
red hat advisories RHSA-2020:1577
- 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
- github.com/Exiv2/exiv2/issues/382 advisory
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-14338 updated cvss 3.3
exiv2: buffer overflow in samples/geotag.cpp
-
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 6 exiv2, exiv2-libs Red Hat Enterprise Linux 7 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.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Exiv2/exiv2/issues/382 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:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/Exiv2/exiv2/issues/382
exploit, patch, third-party-advisory
Sources
- CVE List CVE-2018-14338
- NVD CVE-2018-14338
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.