CVE-2026-135176
5.8medium
LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate
- Severity
- 5.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| LibRaw LibRaw | from 0.22.3 up to 0.22.3 | CVE List |
All scores
| VulnCheck | 5.8medium CVSS:4.0 | 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 |
| VulnCheck | 6.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/LibRaw/LibRaw/issues/894 | exploit, 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-135176 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-135176 changed 2026-11-23 | Public domain |