What is CVE-2026-135176?
CVE-2026-135176 is a medium-severity memory corruption vulnerability in LibRaw, published on 23 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
How severe is CVE-2026-135176?
CVE-2026-135176 scores 5.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.
- Attack vector
- Local
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- High
- Availability
- High
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
Which versions are affected by CVE-2026-135176?
1 open source package ship an affected version, including libraw/libraw.
An affected version is only exploitable if your software calls LibRaw::xtrans_interpolate(). Many projects that include it are not exposed.
| Package | Affected | Fixed in |
|---|---|---|
libraw/libraw GitHubpkg:github/libraw/libraw | From 0.22.3 to 0.22.3 | None |
How do I fix CVE-2026-135176?
No fix has been published for CVE-2026-135176 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-135176 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-135176 exists.
Sources
Also known as GHSA-2hh2-8359-9qc2, UBUNTU-CVE-2026-135176.