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

Published Updated

Crafted X-Trans raw files can corrupt heap memory and crash applications using LibRaw with wavelet denoising or chromatic aberration correction enabled.

CVSS score

Medium

5.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

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.

PackageAffectedFixed in
libraw/libraw GitHub
pkg:github/libraw/libraw
From 0.22.3 to 0.22.3None

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.

Is CVE-2026-135176 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free