Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135176: medium-severity vulnerability (CVSS 5.8) in LibRaw LibRaw.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.8.
Affected products and versions
LibRaw LibRaw >= 0.22.3, <= 0.22.3
| Product | Versions | Fixed in |
|---|---|---|
| LibRaw LibRaw | >= 0.22.3, <= 0.22.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibRaw/LibRaw/issues/894 — CVE Program
- https://github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp#L176-L179 — CVE Program
- https://www.vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolate — CVE Program
Weaknesses (CWE): CWE-787
Relevant change history
Published
Preliminary advisory published.