Out-of-bounds Write Affecting libraw package, versions [,0.18.9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.08% (85th 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-2369253
  • published26 Jan 2022
  • disclosed7 Dec 2018
  • creditUnknown

Introduced: 7 Dec 2018

CVE-2018-5809  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libraw to version 0.18.9 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An error within the "LibRaw::parse_exif()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.

CVSS Scores

version 3.1