Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.7CVE-2026-135177

CVE-2026-135177: LibRaw through 0.22.3 Out-of-Bounds Read via pentax_4shot_load_raw

LibRaw LibRaw

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135177: medium-severity vulnerability (CVSS 5.7) in LibRaw LibRaw.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 5.7.

Affected products and versions

LibRaw LibRaw <= 0.22.3

ProductVersionsFixed in
LibRaw LibRaw<= 0.22.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-125

Relevant change history

  1. Published

    Preliminary advisory published.