Out-of-bounds Read Affecting libraw package, versions <0.20.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (30th 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-ALPINE318-LIBRAW-5515369
  • published23 Nov 2022
  • disclosed1 Sept 2022

Introduced: 1 Sep 2022

CVE-2020-35531  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Alpine:3.18 libraw to version 0.20.0-r0 or higher.

NVD Description

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

In LibRaw, an out-of-bounds read vulnerability exists within the get_huffman_diff() function (libraw\src\x3f\x3f_utils_patched.cpp) when reading data from an image file.

CVSS Scores

version 3.1