Buffer Overflow Affecting libraw package, versions [,0.20.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (26th 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 Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBRAW-10077301
  • published8 May 2025
  • disclosed22 Aug 2023
  • creditGirlElecta

Introduced: 22 Aug 2023

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

How to fix?

Upgrade libraw to version 0.20.0 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp.

CVSS Base Scores

version 3.1