# CVE-2026-135176: LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate

- Severity: Medium 5.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-23T14:38:43.875Z
- Modified: 2026-11-23T16:17:37.647Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- LibRaw LibRaw: from 0.22.3 up to 0.22.3

## Every score

- VulnCheck: CVSS:4.0 5.8 Medium `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: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H`

## 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

- CVE List: [CVE-2026-135176](https://www.cve.org/CVERecord?id=CVE-2026-135176), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-135176](https://nvd.nist.gov/vuln/detail/CVE-2026-135176), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-135176 · Whole record: https://cve.day/CVE-2026-135176.json · Rebuilt by cve.day 2026-11-25T22:59:52.652Z
