Exiv2 Exiv2

Do you want an email whenever new security vulnerabilities are reported in Exiv2?

By the Year

In 2021 there have been 1 vulnerability in Exiv2 with an average score of 6.5 out of ten. Last year Exiv2 had 1 security vulnerability published. If vulnerabilities keep coming in at the current rate, it appears that number of security vulnerabilities in Exiv2 in 2021 could surpass last years number. Last year, the average CVE base score was greater by 1.00

Year Vulnerabilities Average Score
2021 1 6.50
2020 1 7.50
2019 15 6.83
2018 34 6.88

It may take a day or so for new Exiv2 vulnerabilities to show up. Additionally vulnerabilities may be tagged under a different product or component name.

Latest Exiv2 Security Vulnerabilities

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1

CVE-2021-3482 6.5 - Medium - April 08, 2021

A flaw was found in Exiv2 in versions before and including 0.27.4-RC1. Improper input validation of the rawData.size property in Jp2Image::readMetadata() in jp2image.cpp can lead to a heap-based buffer overflow via a crafted JPG image containing malicious EXIF data.

Improper Input Validation

In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file

CVE-2019-20421 7.5 - High - January 27, 2020

In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can result in an infinite loop and hang, with high CPU consumption. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.

Infinite Loop

Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp

CVE-2019-17402 6.5 - Medium - October 09, 2019

Exiv2 0.27.2 allows attackers to trigger a crash in Exiv2::getULong in types.cpp when called from Exiv2::Internal::CiffDirectory::readDirectory in crwimage_int.cpp, because there is no validation of the relationship of the total size to the offset and size.

Classic Buffer Overflow

In Exiv2 before v0.27.2, there is an integer overflow vulnerability in the WebPImage::getHeaderOffset function in webpimage.cpp

CVE-2019-14982 6.5 - Medium - August 12, 2019

In Exiv2 before v0.27.2, there is an integer overflow vulnerability in the WebPImage::getHeaderOffset function in webpimage.cpp. It can lead to a buffer overflow vulnerability and a crash.

Integer Overflow or Wraparound

In Exiv2 0.27.99.0, there is an out-of-bounds read in Exiv2::MrwImage::readMetadata() in mrwimage.cpp

CVE-2019-14370 6.5 - Medium - July 28, 2019

In Exiv2 0.27.99.0, there is an out-of-bounds read in Exiv2::MrwImage::readMetadata() in mrwimage.cpp. It could result in denial of service.

Out-of-bounds Read

Exiv2::PngImage::readMetadata() in pngimage.cpp in Exiv2 0.27.99.0

CVE-2019-14369 6.5 - Medium - July 28, 2019

Exiv2::PngImage::readMetadata() in pngimage.cpp in Exiv2 0.27.99.0 allows attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file.

Out-of-bounds Read

Exiv2 0.27.99.0 has a heap-based buffer over-read in Exiv2::RafImage::readMetadata() in rafimage.cpp.

CVE-2019-14368 7.8 - High - July 28, 2019

Exiv2 0.27.99.0 has a heap-based buffer over-read in Exiv2::RafImage::readMetadata() in rafimage.cpp.

Out-of-bounds Read

There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.

CVE-2019-13504 6.5 - Medium - July 11, 2019

There is an out-of-bounds read in Exiv2::MrwImage::readMetadata in mrwimage.cpp in Exiv2 through 0.27.2.

Out-of-bounds Read

A WebPImage::decodeChunks integer overflow in Exiv2 through 0.27.1

CVE-2019-13111 5.5 - Medium - June 30, 2019

A WebPImage::decodeChunks integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (large heap allocation followed by a very long running loop) via a crafted WEBP image file.

Integer Overflow or Wraparound

An integer overflow in Exiv2 through 0.27.1

CVE-2019-13108 6.5 - Medium - June 30, 2019

An integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a zero value for iccOffset.

Integer Overflow or Wraparound

An integer overflow in Exiv2 through 0.27.1

CVE-2019-13109 6.5 - Medium - June 30, 2019

An integer overflow in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted PNG image file, because PngImage::readMetadata mishandles a chunkLength - iccOffset subtraction.

Integer Overflow or Wraparound

A CiffDirectory::readDirectory integer overflow and out-of-bounds read in Exiv2 through 0.27.1

CVE-2019-13110 6.5 - Medium - June 30, 2019

A CiffDirectory::readDirectory integer overflow and out-of-bounds read in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (SIGSEGV) via a crafted CRW image file.

Integer Overflow or Wraparound

A PngChunk::parseChunkContent uncontrolled memory allocation in Exiv2 through 0.27.1

CVE-2019-13112 6.5 - Medium - June 30, 2019

A PngChunk::parseChunkContent uncontrolled memory allocation in Exiv2 through 0.27.1 allows an attacker to cause a denial of service (crash due to an std::bad_alloc exception) via a crafted PNG image file.

Allocation of Resources Without Limits or Throttling

Exiv2 through 0.27.1

CVE-2019-13113 6.5 - Medium - June 30, 2019

Exiv2 through 0.27.1 allows an attacker to cause a denial of service (crash due to assertion failure) via an invalid data location in a CRW image file.

assertion failure

http.c in Exiv2 through 0.27.1 allows a malicious http server to cause a denial of service (crash due to a NULL pointer dereference) by returning a crafted response

CVE-2019-13114 6.5 - Medium - June 30, 2019

http.c in Exiv2 through 0.27.1 allows a malicious http server to cause a denial of service (crash due to a NULL pointer dereference) by returning a crafted response that lacks a space character.

NULL Pointer Dereference

An issue was discovered in Exiv2 0.27

CVE-2019-9144 8.8 - High - February 25, 2019

An issue was discovered in Exiv2 0.27. There is infinite recursion at BigTiffImage::printIFD in the file bigtiffimage.cpp. This can be triggered by a crafted file. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.

Stack Exhaustion

An issue was discovered in Exiv2 0.27

CVE-2019-9143 8.8 - High - February 25, 2019

An issue was discovered in Exiv2 0.27. There is infinite recursion at Exiv2::Image::printTiffStructure in the file image.cpp. This can be triggered by a crafted file. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.

Stack Exhaustion

There is an infinite loop in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3

CVE-2018-20099 6.5 - Medium - December 12, 2018

There is an infinite loop in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.

Infinite Loop

There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3

CVE-2018-20098 6.5 - Medium - December 12, 2018

There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.

Out-of-bounds Read

There is a SEGV in Exiv2::Internal::TiffParserWorker::findPrimaryGroups of tiffimage_int.cpp in Exiv2 0.27-RC3

CVE-2018-20097 6.5 - Medium - December 12, 2018

There is a SEGV in Exiv2::Internal::TiffParserWorker::findPrimaryGroups of tiffimage_int.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.

Buffer Overflow

There is a heap-based buffer over-read in the Exiv2::tEXtToDataBuf function of pngimage.cpp in Exiv2 0.27-RC3

CVE-2018-20096 6.5 - Medium - December 12, 2018

There is a heap-based buffer over-read in the Exiv2::tEXtToDataBuf function of pngimage.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.

Out-of-bounds Read

Exiv2::isoSpeed in easyaccess.cpp in Exiv2 v0.27-RC2

CVE-2018-19607 6.5 - Medium - November 27, 2018

Exiv2::isoSpeed in easyaccess.cpp in Exiv2 v0.27-RC2 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file.

NULL Pointer Dereference

In Exiv2 0.26 and previous versions, PngChunk::readRawProfile in pngchunk_int.cpp may cause a denial of service (application crash due to a heap-based buffer over-read)

CVE-2018-19535 6.5 - Medium - November 26, 2018

In Exiv2 0.26 and previous versions, PngChunk::readRawProfile in pngchunk_int.cpp may cause a denial of service (application crash due to a heap-based buffer over-read) via a crafted PNG file.

Out-of-bounds Read

In Exiv2 0.26, Exiv2::PsdImage::readMetadata in psdimage.cpp in the PSD image reader may suffer from a denial of service (infinite loop) caused by an integer overflow

CVE-2018-19108 6.5 - Medium - November 08, 2018

In Exiv2 0.26, Exiv2::PsdImage::readMetadata in psdimage.cpp in the PSD image reader may suffer from a denial of service (infinite loop) caused by an integer overflow via a crafted PSD image file.

Infinite Loop

In Exiv2 0.26, Exiv2::IptcParser::decode in iptc.cpp (called from psdimage.cpp in the PSD image reader) may suffer from a denial of service (heap-based buffer over-read) caused by an integer overflow

CVE-2018-19107 6.5 - Medium - November 08, 2018

In Exiv2 0.26, Exiv2::IptcParser::decode in iptc.cpp (called from psdimage.cpp in the PSD image reader) may suffer from a denial of service (heap-based buffer over-read) caused by an integer overflow via a crafted PSD image file.

Integer Overflow or Wraparound

There is an infinite loop in the Exiv2::Image::printIFDStructure function of image.cpp in Exiv2 0.27-RC1

CVE-2018-18915 6.5 - Medium - November 03, 2018

There is an infinite loop in the Exiv2::Image::printIFDStructure function of image.cpp in Exiv2 0.27-RC1. A crafted input will lead to a remote denial of service attack.

Infinite Loop

CiffDirectory::readDirectory() at crwimage_int.cpp in Exiv2 0.26 has excessive stack consumption due to a recursive function

CVE-2018-17581 6.5 - Medium - September 28, 2018

CiffDirectory::readDirectory() at crwimage_int.cpp in Exiv2 0.26 has excessive stack consumption due to a recursive function, leading to Denial of service.

Resource Exhaustion

An issue was discovered in Exiv2 v0.26

CVE-2018-17282 6.5 - Medium - September 20, 2018

An issue was discovered in Exiv2 v0.26. The function Exiv2::DataValue::copy in value.cpp has a NULL pointer dereference.

NULL Pointer Dereference

Exiv2::ul2Data in types.cpp in Exiv2 v0.26

CVE-2018-17230 6.5 - Medium - September 19, 2018

Exiv2::ul2Data 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.

Memory Corruption

Exiv2::d2Data in types.cpp in Exiv2 v0.26

CVE-2018-17229 6.5 - Medium - September 19, 2018

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.

Memory Corruption

Exiv2::Internal::PngChunk::parseTXTChunk in Exiv2 v0.26

CVE-2018-16336 6.5 - Medium - September 02, 2018

Exiv2::Internal::PngChunk::parseTXTChunk in Exiv2 v0.26 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, a different vulnerability than CVE-2018-10999.

Out-of-bounds Read

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

CVE-2018-14338 8.1 - High - July 17, 2018

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.

Buffer Overflow

Exiv2 0.26 has a heap-based buffer over-read in WebPImage::decodeChunks in webpimage.cpp.

CVE-2018-14046 8.8 - High - July 13, 2018

Exiv2 0.26 has a heap-based buffer over-read in WebPImage::decodeChunks in webpimage.cpp.

Out-of-bounds Read

Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp

CVE-2018-12265 8.8 - High - June 13, 2018

Exiv2 0.26 has an integer overflow in the LoaderExifJpeg class in preview.cpp, leading to an out-of-bounds read in Exiv2::MemIo::read in basicio.cpp.

Integer Overflow or Wraparound

Exiv2 0.26 has integer overflows in LoaderTiff::getData() in preview.cpp

CVE-2018-12264 8.8 - High - June 13, 2018

Exiv2 0.26 has integer overflows in LoaderTiff::getData() in preview.cpp, leading to an out-of-bounds read in Exiv2::ValueType::setDataArea in value.hpp.

Integer Overflow or Wraparound

Exiv2 0.26 has a heap-based buffer overflow in getData in preview.cpp.

CVE-2018-11531 9.8 - Critical - May 29, 2018

Exiv2 0.26 has a heap-based buffer overflow in getData in preview.cpp.

Memory Corruption

In Exiv2 0.26, the Exiv2::PngImage::printStructure function in pngimage.cpp

CVE-2018-11037 6.5 - Medium - May 14, 2018

In Exiv2 0.26, the Exiv2::PngImage::printStructure function in pngimage.cpp allows remote attackers to cause an information leak via a crafted file.

Information Disclosure

An issue was discovered in Exiv2 0.26

CVE-2018-10998 6.5 - Medium - May 12, 2018

An issue was discovered in Exiv2 0.26. readMetadata in jp2image.cpp allows remote attackers to cause a denial of service (SIGABRT) by triggering an incorrect Safe::add call.

An issue was discovered in Exiv2 0.26

CVE-2018-10999 6.5 - Medium - May 12, 2018

An issue was discovered in Exiv2 0.26. The Exiv2::Internal::PngChunk::parseTXTChunk function has a heap-based buffer over-read.

Out-of-bounds Read

In types.cpp in Exiv2 0.26

CVE-2018-10958 6.5 - Medium - May 10, 2018

In types.cpp in Exiv2 0.26, a large size value may lead to a SIGABRT during an attempt at memory allocation for an Exiv2::Internal::PngChunk::zlibUncompress call.

Buffer Overflow

Exiv2::Image::byteSwap2 in image.cpp in Exiv2 0.26 has a heap-based buffer over-read.

CVE-2018-10780 6.5 - Medium - May 07, 2018

Exiv2::Image::byteSwap2 in image.cpp in Exiv2 0.26 has a heap-based buffer over-read.

Out-of-bounds Read

The tEXtToDataBuf function in pngimage.cpp in Exiv2 through 0.26

CVE-2018-10772 6.5 - Medium - May 07, 2018

The tEXtToDataBuf function in pngimage.cpp in Exiv2 through 0.26 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file.

Buffer Overflow

In Exiv2 0.26

CVE-2018-9305 8.1 - High - April 04, 2018

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.

Out-of-bounds Read

In Exiv2 0.26

CVE-2018-9304 6.5 - Medium - April 04, 2018

In Exiv2 0.26, a divide by zero in BigTiffImage::printIFD in bigtiffimage.cpp could result in denial of service.

Divide By Zero

In Exiv2 0.26

CVE-2018-9303 6.5 - Medium - April 04, 2018

In Exiv2 0.26, an assertion failure in BigTiffImage::readData in bigtiffimage.cpp results in an abort.

assertion failure

In the DataBuf class in include/exiv2/types.hpp in Exiv2 0.26, an issue exists in the constructor with an initial buffer size

CVE-2018-9145 6.5 - Medium - March 30, 2018

In the DataBuf class in include/exiv2/types.hpp in Exiv2 0.26, an issue exists in the constructor with an initial buffer size. A large size value may lead to a SIGABRT during an attempt at memory allocation. NOTE: some third parties have been unable to reproduce the SIGABRT when using the 4-DataBuf-abort-1 PoC file.

Improper Input Validation

In Exiv2 0.26, there is an out-of-bounds read in Exiv2::Internal::binaryToString in image.cpp

CVE-2018-9144 8.1 - High - March 30, 2018

In Exiv2 0.26, there is an out-of-bounds read in Exiv2::Internal::binaryToString in image.cpp. It could result in denial of service or information disclosure.

Out-of-bounds Read

In Exiv2 0.26, the Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp

CVE-2018-8977 6.5 - Medium - March 25, 2018

In Exiv2 0.26, the Exiv2::Internal::printCsLensFFFF function in canonmn_int.cpp allows remote attackers to cause a denial of service (invalid memory access) via a crafted file.

Buffer Overflow

In Exiv2 0.26, jpgimage.cpp

CVE-2018-8976 6.5 - Medium - March 25, 2018

In Exiv2 0.26, jpgimage.cpp allows remote attackers to cause a denial of service (image.cpp Exiv2::Internal::stringFormat out-of-bounds read) via a crafted file.

Out-of-bounds Read

In Exiv2 0.26

CVE-2018-5772 5.5 - Medium - January 18, 2018

In Exiv2 0.26, there is a segmentation fault caused by uncontrolled recursion in the Exiv2::Image::printIFDStructure function in the image.cpp file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file.

Stack Exhaustion

The Exiv2::Jp2Image::readMetadata function in jp2image.cpp in Exiv2 0.26

CVE-2018-4868 5.5 - Medium - January 03, 2018

The Exiv2::Jp2Image::readMetadata function in jp2image.cpp in Exiv2 0.26 allows remote attackers to cause a denial of service (excessive memory allocation) via a crafted file.

Allocation of Resources Without Limits or Throttling

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Exiv2 or by Exiv2? Click the Watch button to subscribe.

subscribe