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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBRAW-10077292
  • published8 May 2025
  • disclosed2 Jun 2021
  • creditUnknown

Introduced: 2 Jun 2021

CVE-2020-24870  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libraw to version 0.20.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.

CVSS Base Scores

version 3.1