Every CVE Search/ Get API key

CVE-2018-14338

samples/geotag.cpp in the example code of Exiv2 0.26 misuses the realpath function on POSIX...

8.1 High

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.43%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.1

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.

Record
CVE-2018-14338
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-14338
Updated
2026-11-02
EUVDEUVD-2018-0059 No score

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.

Record
EUVD-2018-0059
Updated
2026-11-03
GitHub AdvisoriesGHSA-vcrp-2wmj-jrg8 8.1

samples/geotag.cpp in the example code of Exiv2 0.26 misuses the realpath function on POSIX...

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.

Record
GHSA-vcrp-2wmj-jrg8
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 8.1

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.

Record
CVE-2018-14338
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-14338 8.1

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.

Record
DEBIAN-CVE-2018-14338
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVPYSEC-2018-134 8.1

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.

Record
PYSEC-2018-134
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2020:1577 7.5

Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update

Record
RHSA-2020:1577
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2020:1577 7.5

Moderate: exiv2 security, bug fix, and enhancement update

The exiv2 packages provide a command line utility which can display and manipulate image metadata such as EXIF, LPTC, and JPEG comments.

The following packages have been upgraded to a later upstream version: exiv2 (0.27.2). (BZ#1651917)

Security Fix(es):

  • exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS (CVE-2019-20421)

  • exiv2: null pointer dereference in the Exiv2::DataValue::toLong function in value.cpp (CVE-2017-18005)

  • exiv2: Excessive memory allocation in Exiv2::Jp2Image::readMetadata function in jp2image.cpp (CVE-2018-4868)

  • exiv2: assertion failure in BigTiffImage::readData in bigtiffimage.cpp (CVE-2018-9303)

  • exiv2: divide by zero in BigTiffImage::printIFD in bigtiffimage.cpp (CVE-2018-9304)

  • exiv2: out of bounds read in IptcData::printStructure in iptc.c (CVE-2018-9305)

  • exiv2: OOB read in pngimage.cpp:tEXtToDataBuf() allows for crash via crafted file (CVE-2018-10772)

  • exiv2: information leak via a crafted file (CVE-2018-11037)

  • exiv2: buffer overflow in samples/geotag.cpp (CVE-2018-14338)

  • exiv2: heap-based buffer overflow in Exiv2::d2Data in types.cpp (CVE-2018-17229)

  • exiv2: heap-based buffer overflow in Exiv2::ul2Data in types.cpp (CVE-2018-17230)

  • exiv2: NULL pointer dereference in Exiv2::DataValue::copy in value.cpp leading to application crash (CVE-2018-17282)

  • exiv2: Stack overflow in CiffDirectory::readDirectory() at crwimage_int.cpp leading to denial of service (CVE-2018-17581)

  • exiv2: infinite loop in Exiv2::Image::printIFDStructure function in image.cpp (CVE-2018-18915)

  • exiv2: heap-based buffer over-read in Exiv2::IptcParser::decode in iptc.cpp (CVE-2018-19107)

  • exiv2: infinite loop in Exiv2::PsdImage::readMetadata in psdimage.cpp (CVE-2018-19108)

  • exiv2: heap-based buffer over-read in PngChunk::readRawProfile in pngchunk_int.cpp (CVE-2018-19535)

  • exiv2: NULL pointer dereference in Exiv2::isoSpeed in easyaccess.cpp (CVE-2018-19607)

  • exiv2: Heap-based buffer over-read in Exiv2::tEXtToDataBuf function resulting in a denial of service (CVE-2018-20096)

  • exiv2: Segmentation fault in Exiv2::Internal::TiffParserWorker::findPrimaryGroups function (CVE-2018-20097)

  • exiv2: Heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header resulting in a denial of service (CVE-2018-20098)

  • exiv2: Infinite loop in Exiv2::Jp2Image::encodeJp2Header resulting in a denial of service (CVE-2018-20099)

  • exiv2: infinite recursion in Exiv2::Image::printTiffStructure in file image.cpp resulting in denial of service (CVE-2019-9143)

  • exiv2: denial of service in PngImage::readMetadata (CVE-2019-13109)

  • exiv2: integer overflow in WebPImage::decodeChunks leads to denial of service (CVE-2019-13111)

  • exiv2: uncontrolled memory allocation in PngChunk::parseChunkContent causing denial of service (CVE-2019-13112)

  • exiv2: invalid data location in CRW image file causing denial of service (CVE-2019-13113)

  • exiv2: null-pointer dereference in http.c causing denial of service (CVE-2019-13114)

  • exiv2: out of bounds read in IptcData::printStructure in iptc.c (CVE-2018-9306)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.2 Release Notes linked from the References section.

Record
RLSA-2020:1577
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2020:1577 No score

Moderate: exiv2 security, bug fix, and enhancement update

The exiv2 packages provide a command line utility which can display and manipulate image metadata such as EXIF, LPTC, and JPEG comments.

The following packages have been upgraded to a later upstream version: exiv2 (0.27.2). (BZ#1651917)

Security Fix(es):

  • exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS (CVE-2019-20421)

  • exiv2: null pointer dereference in the Exiv2::DataValue::toLong function in value.cpp (CVE-2017-18005)

  • exiv2: Excessive memory allocation in Exiv2::Jp2Image::readMetadata function in jp2image.cpp (CVE-2018-4868)

  • exiv2: assertion failure in BigTiffImage::readData in bigtiffimage.cpp (CVE-2018-9303)

  • exiv2: divide by zero in BigTiffImage::printIFD in bigtiffimage.cpp (CVE-2018-9304)

  • exiv2: out of bounds read in IptcData::printStructure in iptc.c (CVE-2018-9305)

  • exiv2: OOB read in pngimage.cpp:tEXtToDataBuf() allows for crash via crafted file (CVE-2018-10772)

  • exiv2: information leak via a crafted file (CVE-2018-11037)

  • exiv2: buffer overflow in samples/geotag.cpp (CVE-2018-14338)

  • exiv2: heap-based buffer overflow in Exiv2::d2Data in types.cpp (CVE-2018-17229)

  • exiv2: heap-based buffer overflow in Exiv2::ul2Data in types.cpp (CVE-2018-17230)

  • exiv2: NULL pointer dereference in Exiv2::DataValue::copy in value.cpp leading to application crash (CVE-2018-17282)

  • exiv2: Stack overflow in CiffDirectory::readDirectory() at crwimage_int.cpp leading to denial of service (CVE-2018-17581)

  • exiv2: infinite loop in Exiv2::Image::printIFDStructure function in image.cpp (CVE-2018-18915)

  • exiv2: heap-based buffer over-read in Exiv2::IptcParser::decode in iptc.cpp (CVE-2018-19107)

  • exiv2: infinite loop in Exiv2::PsdImage::readMetadata in psdimage.cpp (CVE-2018-19108)

  • exiv2: heap-based buffer over-read in PngChunk::readRawProfile in pngchunk_int.cpp (CVE-2018-19535)

  • exiv2: NULL pointer dereference in Exiv2::isoSpeed in easyaccess.cpp (CVE-2018-19607)

  • exiv2: Heap-based buffer over-read in Exiv2::tEXtToDataBuf function resulting in a denial of service (CVE-2018-20096)

  • exiv2: Segmentation fault in Exiv2::Internal::TiffParserWorker::findPrimaryGroups function (CVE-2018-20097)

  • exiv2: Heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header resulting in a denial of service (CVE-2018-20098)

  • exiv2: Infinite loop in Exiv2::Jp2Image::encodeJp2Header resulting in a denial of service (CVE-2018-20099)

  • exiv2: infinite recursion in Exiv2::Image::printTiffStructure in file image.cpp resulting in denial of service (CVE-2019-9143)

  • exiv2: denial of service in PngImage::readMetadata (CVE-2019-13109)

  • exiv2: integer overflow in WebPImage::decodeChunks leads to denial of service (CVE-2019-13111)

  • exiv2: uncontrolled memory allocation in PngChunk::parseChunkContent causing denial of service (CVE-2019-13112)

  • exiv2: invalid data location in CRW image file causing denial of service (CVE-2019-13113)

  • exiv2: null-pointer dereference in http.c causing denial of service (CVE-2019-13114)

  • exiv2: out of bounds read in IptcData::printStructure in iptc.c (CVE-2018-9306)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2020:1577
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
exiv2-devel
AlmaLinux:8
From an advisory covering 29 CVEs
before 0.27.2-5.el8
0.27.2-5.el8
exiv2-doc
AlmaLinux:8
From an advisory covering 29 CVEs
before 0.27.2-5.el8
0.27.2-5.el8
gegl
AlmaLinux:8
From an advisory covering 29 CVEs
before 0.2.0-39.el8
0.2.0-39.el8
gnome-color-manager
AlmaLinux:8
From an advisory covering 29 CVEs
before 3.28.0-3.el8
3.28.0-3.el8
libgexiv2
AlmaLinux:8
From an advisory covering 29 CVEs
before 0.10.8-4.el8
0.10.8-4.el8
libgexiv2-devel
AlmaLinux:8
From an advisory covering 29 CVEs
before 0.10.8-4.el8
0.10.8-4.el8
exiv2
Debian:12
All versions, plus listed versions
0.27.6-10.28.0+dfsg-10.28.0+dfsg-20.28.0+dfsg-30.28.0+dfsg-4
Show 13 moreShow less
0.28.1+dfsg-10.28.1+dfsg-20.28.1+dfsg-30.28.2+dfsg-10.28.3+dfsg-10.28.3+dfsg-20.28.4+dfsg-10.28.4+dfsg-20.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Debian:13
All versions, plus listed versions
0.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Debian:14
All versions, plus listed versions
0.28.5+dfsg-10.28.7+dfsg-10.28.7+dfsg-20.28.8+dfsg-10.28.9+dfsg-1
None known
exiv2
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
Show 28 moreShow less
Affected packages
PackageAffectedFixed
exiv2-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
gegl
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gegl-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gegl-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gnome-color-manager
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:3.28.0-3.el8
0:3.28.0-3.el8
gnome-color-manager-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:3.28.0-3.el8
0:3.28.0-3.el8
gnome-color-manager-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:3.28.0-3.el8
0:3.28.0-3.el8
libgexiv2
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
exiv2
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debugsource
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-devel
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-doc
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
libgexiv2
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debuginfo
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debugsource
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-devel
Red Hat:enterprise_linux:8::crb
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8
exiv2
Rocky Linux:8
From an advisory covering 29 CVEs
before 0:0.27.2-5.el8
0:0.27.2-5.el8
gegl
Rocky Linux:8
From an advisory covering 29 CVEs
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gnome-color-manager
Rocky Linux:8
From an advisory covering 29 CVEs
before 0:3.28.0-3.el8
0:3.28.0-3.el8
libgexiv2
Rocky Linux:8
From an advisory covering 29 CVEs
before 0:0.10.8-4.el8
0:0.10.8-4.el8

History

History
RecordedChangedSources
affected, facts
facts, referencesOSV
affected
affected, aliases, referencesEUVD
first indexedOSV
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-14338 is a high vulnerability (CVSS 8.1) in Exiv2, published July 17, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. No source names a fixed version.

References

Show 185 moreShow less
MoveEnter Open