LibRaw 0.22.3 contains a heap out-of-bounds write vulnerability in LibRaw::xtrans_interpolate() that allows attackers
Source GCVE Database
Not known to be exploited · CVSS 5.8 Medium.
Data as of 23 Nov 2026, 16:40 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.3 |
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LibRawLibRaw | Affected
| Fixed in– |
GitHubLibRawpkg:github/LibRawOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid processing untrusted or specially crafted X-Trans raw files with wavelet denoising threshold or chromatic aberration correction enabled.
Description
LibRaw version 0.22.3 has a heap out-of-bounds write vulnerability in the function LibRaw::xtrans_interpolate(). This flaw occurs when processing crafted X-Trans raw files with wavelet denoising threshold or chromatic aberration correction enabled. The vulnerability arises because the destination image buffer is allocated based on halved image width and height but is indexed using the full image width, leading to writes beyond the allocated heap memory. This can cause heap corruption and application crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2026-135176 (opens in a new tab)
- github.com/LibRaw/LibRaw/issues/894 (opens in a new tab)
- github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp (opens in a new tab)
- vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolate (opens in a new tab)