Every CVE Search/ Get API key

CVE-2018-17229

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service ...

6.5 MediumPublic exploitFix available

CVE-2018-17229 is a medium vulnerability (CVSS 6.5) in Exiv2, published September 19, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.21%, the 82nd percentile. Fixed in exiv2-devel 0.27.2-5.el8.

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.21%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Record
CVE-2018-17229
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Record
CVE-2018-17229
Updated
2026-11-02
EUVDEUVD-2018-0061 No score

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Record
EUVD-2018-0061
Updated
2026-11-03
GitHub AdvisoriesGHSA-m3fr-3g6g-rc8x 6.5

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service ...

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Record
GHSA-m3fr-3g6g-rc8x
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 6.5

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Record
CVE-2018-17229
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2018-136 6.5

Exiv2::d2Data in types.cpp in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer overflow) via a crafted image file.

Record
PYSEC-2018-136
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 6 moreShow less
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-02
OSVopenSUSE-SU-2020:0482-1 No score

Security update for exiv2

This update for exiv2 fixes the following issues:

exiv2 was updated to latest 0.26 branch, fixing bugs and security issues:

  • CVE-2017-1000126: Fixed an out of bounds read in webp parser (bsc#1068873).
  • CVE-2017-9239: Fixed a segmentation fault in TiffImageEntry::doWriteImage function (bsc#1040973).
  • CVE-2018-12264: Fixed an integer overflow in LoaderTiff::getData() which might have led to an out-of-bounds read (bsc#1097600).
  • CVE-2018-12265: Fixed integer overflows in LoaderExifJpeg which could have led to memory corruption (bsc#1097599).
  • CVE-2018-17229: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109175).
  • CVE-2018-17230: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109176).
  • CVE-2018-17282: Fixed a null pointer dereference in Exiv2::DataValue::copy (bsc#1109299).
  • CVE-2018-19108: Fixed an integer overflow in Exiv2::PsdImage::readMetadata which could have led to infinite loop (bsc#1115364).
  • CVE-2018-19607: Fixed a null pointer dereference in Exiv2::isoSpeed which might have led to denial of service (bsc#1117513).
  • CVE-2018-9305: Fixed an out of bounds read in IptcData::printStructure which might have led to to information leak or denial of service (bsc#1088424).
  • CVE-2019-13114: Fixed a null pointer dereference which might have led to denial of service via a crafted response of an malicious http server (bsc#1142684).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2020:0482-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12399-1 No score

exiv2-0.27.5-4.1 on GA media

These are all security issues fixed in the exiv2-0.27.5-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12399-1
Updated
2026-11-02
OSVSUSE-SU-2020:0921-1 No score

Security update for exiv2

This update for exiv2 fixes the following issues:

exiv2 was updated to latest 0.26 branch, fixing bugs and security issues:

  • CVE-2017-1000126: Fixed an out of bounds read in webp parser (bsc#1068873).
  • CVE-2017-9239: Fixed a segmentation fault in TiffImageEntry::doWriteImage function (bsc#1040973).
  • CVE-2018-12264: Fixed an integer overflow in LoaderTiff::getData() which might have led to an out-of-bounds read (bsc#1097600).
  • CVE-2018-12265: Fixed integer overflows in LoaderExifJpeg which could have led to memory corruption (bsc#1097599).
  • CVE-2018-17229: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109175).
  • CVE-2018-17230: Fixed a heap based buffer overflow in Exiv2::d2Data via a crafted image (bsc#1109176).
  • CVE-2018-17282: Fixed a null pointer dereference in Exiv2::DataValue::copy (bsc#1109299).
  • CVE-2018-19108: Fixed an integer overflow in Exiv2::PsdImage::readMetadata which could have led to infinite loop (bsc#1115364).
  • CVE-2018-19607: Fixed a null pointer dereference in Exiv2::isoSpeed which might have led to denial of service (bsc#1117513).
  • CVE-2018-9305: Fixed an out of bounds read in IptcData::printStructure which might have led to to information leak or denial of service (bsc#1088424).
  • CVE-2019-13114: Fixed a null pointer dereference which might have led to denial of service via a crafted response of an malicious http server (bsc#1142684).
Record
SUSE-SU-2020:0921-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
exiv2-devel
AlmaLinux:8
before 0.27.2-5.el8
0.27.2-5.el8
exiv2-doc
AlmaLinux:8
before 0.27.2-5.el8
0.27.2-5.el8
gegl
AlmaLinux:8
before 0.2.0-39.el8
0.2.0-39.el8
gnome-color-manager
AlmaLinux:8
before 3.28.0-3.el8
3.28.0-3.el8
libgexiv2
AlmaLinux:8
before 0.10.8-4.el8
0.10.8-4.el8
libgexiv2-devel
AlmaLinux:8
before 0.10.8-4.el8
0.10.8-4.el8
exiv2
Red Hat:enterprise_linux:8::appstream
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs
Red Hat:enterprise_linux:8::appstream
before 0:0.27.2-5.el8
0:0.27.2-5.el8
Show 28 moreShow less
Affected packages
PackageAffectedFixed
exiv2-libs-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.27.2-5.el8
0:0.27.2-5.el8
gegl
Red Hat:enterprise_linux:8::appstream
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gegl-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gegl-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gnome-color-manager
Red Hat:enterprise_linux:8::appstream
before 0:3.28.0-3.el8
0:3.28.0-3.el8
gnome-color-manager-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:3.28.0-3.el8
0:3.28.0-3.el8
gnome-color-manager-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:3.28.0-3.el8
0:3.28.0-3.el8
libgexiv2
Red Hat:enterprise_linux:8::appstream
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:0.10.8-4.el8
0:0.10.8-4.el8
exiv2
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-debugsource
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-devel
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-doc
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
exiv2-libs-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:0.27.2-5.el8
0:0.27.2-5.el8
libgexiv2
Red Hat:enterprise_linux:8::crb
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-debugsource
Red Hat:enterprise_linux:8::crb
before 0:0.10.8-4.el8
0:0.10.8-4.el8
libgexiv2-devel
Red Hat:enterprise_linux:8::crb
before 0:0.10.8-4.el8
0:0.10.8-4.el8
exiv2
Rocky Linux:8
before 0:0.27.2-5.el8
0:0.27.2-5.el8
gegl
Rocky Linux:8
before 0:0.2.0-39.el8
0:0.2.0-39.el8
gnome-color-manager
Rocky Linux:8
before 0:3.28.0-3.el8
0:3.28.0-3.el8
libgexiv2
Rocky Linux:8
before 0:0.10.8-4.el8
0:0.10.8-4.el8
exiv2
SUSE:Linux Enterprise Module for Desktop Applications 15 SP1
before 0.26-6.8.1
0.26-6.8.1
exiv2
openSUSE:Leap 15.1
before 0.26-lp151.7.3.1
0.26-lp151.7.3.1
exiv2
openSUSE:Tumbleweed
before 0.27.5-4.1
0.27.5-4.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubzeeshangondal/c-cpp_CVE-2018-172292025-04-16

History

History
WhenChangedSources
2026-11-03affected
2026-11-03affected, aliases, referencesEUVD
2026-11-02createdOSV
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

References

Show 176 moreShow less
MoveEnter Open