{"id":"CVE-2026-135176","summary":"LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate","details":"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.","modified":"2026-11-23T16:00:23.220363645Z","published":"2026-11-23T14:38:43.875Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135176.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135176.json"},{"type":"PACKAGE","url":"https://github.com/LibRaw/LibRaw"},{"type":"ARTICLE","url":"https://github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp#L176-L179"},{"type":"REPORT","url":"https://github.com/LibRaw/LibRaw/issues/894"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135176"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolate"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libraw/libraw","events":[{"introduced":"cf02d66eb5c19d4e46df7aee0582e47a4918509a"},{"last_affected":"cf02d66eb5c19d4e46df7aee0582e47a4918509a"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"0.22.3"},{"last_affected":"0.22.3"}]}]}}],"versions":["0.22.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135176.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}