Division by zero Affecting exiv2/exiv2 package, versions [,0.17)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.81% (89th 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-UNMANAGED-EXIV2EXIV2-8422871
  • published27 Nov 2024
  • disclosed13 Jun 2008
  • creditUnknown

Introduced: 13 Jun 2008

CVE-2008-2696  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade exiv2/exiv2 to version 0.17 or higher.

Overview

Affected versions of this package are vulnerable to Division by zero through the RationalValue::toLong function. An attacker can trigger a crash of the application by supplying an image file with manipulated metadata containing a zero value in Nikon lens information.

CVSS Scores

version 4.0
version 3.1