CVE-2026-135176
LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate
Medium · 5.8
- CVSS
- 5.8
- EPSS
- 0.39% (p25)
- Published
- 2026-11-23
- Age
- 6d old
- Modified
- 2026-11-24
- Product
- LibRaw LibRaw
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Sources
- NVD · first seen 6d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 6d ago · CVE Terms of Use
References
- https://github.com/LibRaw/LibRaw/issues/894 issue-tracking
- https://github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp#L176-L179 technical-description
- https://www.vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolate third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135176.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135176 advisory
- https://github.com/LibRaw/LibRaw package