Out-of-Bounds Read Vulnerability in LibRaw Affects Photography Software
CVE-2026-135177
5.7MEDIUM
What is CVE-2026-135177?
LibRaw versions up to 0.22.3 are affected by an out-of-bounds read vulnerability in the LibRaw::pentax_4shot_load_raw() function. This issue allows attackers to crash applications by exploiting the tiff_ifd[] array, which can be accessed beyond its intended limit of 10 entries. By supplying a specially crafted four-frame Pentax DNG file with mismatching IFDs, attackers can trigger a denial of service when the LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES option is active. This vulnerability highlights potential risks for users relying on LibRaw for image processing, emphasizing the need for updates to mitigate such threats.
Affected Version(s)
LibRaw 0 <= 0.22.3
