CVE-2026-135176
LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate
5.8
Description
LibRaw 0.22.3 contains a heap out-of-bounds write vulnerability in LibRaw::xtrans_interpolate() that allows attackers to corrupt heap memory via crafted X-Trans raw files. When wavelet denoising threshold or chromatic aberration correction is enabled, the destimage buffer is sized from halved iwidth/iheight but indexed at full width, causing writes of file-derived pixel values beyond the allocation and crashes.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| libraw | libraw | ≤0.22.3 | — | CVE.org |