Heap out-of-bounds write in LibRaw xtrans_interpolate
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
LibRaw 0.22.3 is affected by a heap out-of-bounds write in LibRaw::xtrans_interpolate() (CWE-787). The destimage buffer is sized from halved dimensions but indexed at full width when wavelet denoising or chromatic aberration correction is enabled. A local attacker with no privileges needs a user to open a crafted X-Trans raw file, which writes file-derived pixel values past the allocation and crashes the application.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for LibRaw. Red Hat Enterprise Linux 6 has no fix planned, and Red Hat Enterprise Linux 7, 8, 9 and 10 have no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-23 Threatist record created from CVE-2026-135176
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-23 Alias added: GHSA-2hh2-8359-9qc2
- 2026-11-27 Affected versions changed · Red Hat
- 2026-11-27 CVSS score added · Red Hat
References
More LibRaw vulnerabilities
- TI-2026-04674 LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds CVSS 4.0MEDIUM 6.9
- TI-2020-14361 Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp. CVSS 3.1MEDIUM 6.5
- TI-2026-96755 LibRaw Out-of-Bounds Read in pentax_4shot_load_raw CVSS 4.0MEDIUM 5.7
- TI-2026-04650 LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write CVSS 4.0MEDIUM 5.3
- TI-2026-16915 Integer overflow in LibRaw CVSS 3.1CRITICAL 9.8
- TI-2015-06888 The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-135176 · CVE Program
- CVE-2026-135176 · NVD
- FIRST EPSS
- GHSA-2hh2-8359-9qc2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-135176 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences