LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate
CVE-2026-135176Published 23 Nov 2026, 14:38 UTC
Real-world risk
0.5/ 10Low
Routine
If the vulnerable configuration applies to you: 1.0
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| LibRawNiche | >= 0.22.3, <= 0.22.3 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.4% chance of exploitation in 30 days (percentile 36), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.071
- Threat T3: Public proof of concept0.950
- 10 × impact 0.7 × prerequisites 0.0709 × threat 0.950.471
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 23 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-787
References
- https://github.com/LibRaw/LibRaw/issues/894exploit, issue-tracking
- https://github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp#L176-L179technical-description
- https://www.vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolatethird-party-advisory
- CVE-2026-135176 on CVE.org