PatchSiren cyber security CVE debrief
CVE-2026-135176 LibRaw CVE debrief
CVE-2026-135176 is a heap out-of-bounds write vulnerability in LibRaw 0.22.3, specifically in the LibRaw::xtrans_interpolate() function. This vulnerability allows attackers to corrupt heap memory via crafted X-Trans raw files, potentially leading to crashes. The vulnerability is triggered when wavelet denoising threshold or chromatic aberration correction is enabled, causing the destimage buffer to be sized from halved iwidth/iheight but indexed at full width.
- Vendor
- LibRaw
- Product
- LibRaw
- CVSS
- MEDIUM 5.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-23
- Original CVE updated
- 2026-11-23
- Advisory published
- 2026-11-23
- Advisory updated
- 2026-11-23
Who should care
Defenders responsible for image processing applications, especially those handling X-Trans raw files, should assess exposure and prioritize verification of the LibRaw library version.
Why it matters
CVE-2026-135176 is a heap out-of-bounds write vulnerability in LibRaw 0.22.3 that allows attackers to corrupt heap memory via crafted X-Trans raw files. Defenders should prioritize verifying the LibRaw library version and assessing exposure in image processing applications.
- Potential crashes or memory corruption issues in image processing applications
- Verification of LibRaw library version and exposure in applications handling X-Trans raw files
- Prioritization of patches or updates from the vendor
Technical summary
The vulnerability is caused by improper handling of the destimage buffer in the LibRaw::xtrans_interpolate() function. When wavelet denoising threshold or chromatic aberration correction is enabled, the buffer is sized from halved iwidth/iheight but indexed at full width, leading to writes of file-derived pixel values beyond the allocation and crashes. This vulnerability allows attackers to corrupt heap memory via crafted X-Trans raw files, potentially leading to crashes in image processing applications. Defenders should prioritize verifying the LibRaw library version and assessing exposure in image processing applications, especially those handling X-Trans raw files.
Defensive priority
Defenders should prioritize verifying the LibRaw library version and assessing exposure in image processing applications, especially those handling X-Trans raw files.
Recommended defensive actions
- Verify LibRaw library version and assess exposure in image processing applications
- Review and apply patches or updates from the vendor
- Monitor for and respond to potential crashes or memory corruption issues
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description, affected versions, and references to technical descriptions and advisories. The vulnerability is caused by improper handling of the destimage buffer in the LibRaw::xtrans_interpolate() function. When wavelet denoising threshold or chromatic aberration correction is enabled, the buffer is sized from halved iwidth/iheight but indexed at full width, leading to writes of file-derived pixel values beyond the allocation and crashes. Defenders can
Sources and references
Verified primary and authoritative sources
-
CVE-2026-135176 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-135176
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-135176 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-135176
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
LibRaw 0.22.3 Heap Out-of-Bounds Write via xtrans_interpolate
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/135xxx/CVE-2026-135176.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/LibRaw/LibRaw/issues/894
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/LibRaw/LibRaw/blob/0.22.3/src/demosaic/xtrans_demosaic.cpp
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/libraw-0.22.3-heap-out-of-bounds-write-via-xtrans-interpolate
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.