Heap Out-of-Bounds Write Vulnerability in LibRaw by LibRaw
CVE-2026-135176
5.8MEDIUM
What is CVE-2026-135176?
LibRaw version 0.22.3 is susceptible to a heap out-of-bounds write vulnerability in the LibRaw::xtrans_interpolate() function. This flaw allows attackers to corrupt memory by using specially crafted X-Trans raw files. When utilizing features such as wavelet denoising or chromatic aberration correction, the destination image buffer is incorrectly sized based on halved image dimensions while being indexed at full width, causing potential writes that exceed allocated memory. This could lead to application crashes or further exploitation.
Affected Version(s)
LibRaw 0.22.3
