Out-of-Bounds Affecting libraw package, versions [,0.18.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.21% (59th 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-LIBRAW-2369281
  • published26 Jan 2022
  • disclosed16 May 2017
  • creditUnknown

Introduced: 16 May 2017

CVE-2017-6887  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade libraw to version 0.18.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to cause a memory corruption via e.g. a specially crafted KDC file with model set to "DSLR-A100" and containing multiple sequences of 0x100 and 0x14A TAGs.

References

CVSS Scores

version 3.1