PatchSiren

LibRaw CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM LibRaw CVE published 2026-11-23

CVE-2026-135167

A heap out-of-bounds read vulnerability exists in LibRaw 0.22.0 through 0.22.3 in the HuffTable::len() function due to improper validation of Huffman DC symbols. This allows attackers to supply crafted TIFF/ARW files that can cause applications to crash, resulting in a denial of service. The vulnerability is a medium-severity issue that can be exploited through a crafted Sony YCbCr lossless JPEG stream with oversized Huffman symbols. Defenders should assess exposure and prioritize updating to a safe version to prevent denial of service. Affected systems process TIFF/ARW files using LibRaw 0.22.0 through 0.22.3, and defenders should monitor for crafted files that could cause denial

MEDIUM LibRaw CVE published 2026-11-23

CVE-2026-135176

CVE-2026-135176 is a heap out-of-bounds write vulnerability in LibRaw 0.22.3, specifically in the LibRaw::xtrans_interpolate() function. This vulnerability allows attackers to corrupt heap memory via crafted X-Trans raw files, potentially leading to crashes. The vulnerability is triggered when wavelet denoising threshold or chromatic aberration correction is enabled, causing the destimage buffer to be sized from halved iwidth/iheight but indexed at full width.

MEDIUM LibRaw CVE published 2026-11-23

CVE-2026-135177

LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax_4shot_load_raw(). This allows attackers to crash applications by scanning tiff_ifd[] beyond its 10 entries. The vulnerability is triggered when processing crafted Pentax DNG files, potentially leading to denial of service. Defenders and developers should assess exposure and prioritize remediation, especially in environments processing Pentax DNG files with LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES enabled.

MEDIUM LibRaw CVE published 2026-10-15

CVE-2026-111272

A heap-based out-of-bounds read vulnerability exists in LibRaw through version 0.22.2, specifically in the `parseNikonMakernote()` function. This allows attackers to read past a short ShotInfo buffer by supplying a crafted Nikon NEF/TIFF image with a 5-byte ShotInfo tag declaring version 243, potentially causing application crashes when decoding the image.

HIGH LibRaw CVE published 2026-07-27

CVE-2026-51235

CVE-2026-51235 is a high-severity buffer overflow vulnerability in LibRaw 0.21, affecting the stretch() function in src/libraw_cxx.cpp and the fuji_rotate() function in src/decoders/fuji.cpp. The CVSS score is 8.8, indicating a high severity level. The vulnerability is classified as CWE-122. To address this vulnerability, developers and users of LibRaw 0.21 should be aware of this vulnerability and take necessary actions to mitigate the risk.

CRITICAL LibRaw CVE published 2026-04-07

CVE-2026-20911

CVE-2026-20911 is a critical heap-based buffer overflow vulnerability in the HuffTable::initval functionality of LibRaw. The vulnerability exists in LibRaw Commit 0b56545 and Commit d20315b. An attacker can provide a malicious file to trigger this vulnerability, potentially leading to arbitrary code execution. The vulnerability has a CVSS score of 9.8 and is classified as CRITICAL. The CVE was published on April 7, 2026, and modified on June 30, 2026.