Incorrect Type Conversion or Cast Affecting libraw package, versions [,0.19.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.28% (69th 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-2369280
  • published26 Jan 2022
  • disclosed20 Feb 2019
  • creditUnknown

Introduced: 20 Feb 2019

CVE-2018-5817  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade libraw to version 0.19.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast. A type confusion error within the "unpacked_load_raw()" function within LibRaw versions prior to 0.19.1 (internal/dcraw_common.cpp) can be exploited to trigger an infinite loop.

References

CVSS Scores

version 3.1