Out-of-bounds Read Affecting libraw package, versions <0.21.4-2+e9


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.38% (25th 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-ECHOLATEST-LIBRAW-23024608
  • published28 Nov 2026
  • disclosed23 Nov 2026

Introduced: 23 Nov 2026

NewCVE-2026-135177  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Echo:latest libraw to version 0.21.4-2+e9 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax_4shot_load_raw() that allows attackers to crash applications by scanning tiff_ifd[] beyond its 10 entries. Attackers can supply a crafted four-frame Pentax DNG with too few IFDs matching the raw dimensions to cause denial of service when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled.

CVSS Base Scores

version 3.1