Divide By Zero Affecting exiv2 package, versions <0.25-2.1ubuntu16.04.3


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.59% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-EXIV2-321319
  • published26 May 2017
  • disclosed26 May 2017

Introduced: 26 May 2017

CVE-2017-9239  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 exiv2 to version 0.25-2.1ubuntu16.04.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exiv2 package and not the exiv2 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

An issue was discovered in Exiv2 0.26. When the data structure of the structure ifd is incorrect, the program assigns pValue_ to 0x0, and the value of pValue() is 0x0. TiffImageEntry::doWriteImage will use the value of pValue() to cause a segmentation fault. To exploit this vulnerability, someone must open a crafted tiff file.