Read the docs

Heap out-of-bounds write in LibRaw xtrans_interpolate

Priority MEDIUM 59CWE-787Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00393 25th percentileScored 2026-11-30
Fix Deferred Red Hat: fix deferred

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

VendorProductAffected versionsFixed inStatusSource
LibRawLibRaw0.22.3 – 0.22.3—No fix listedCNA
  • LibRaw VendorLibRaw Affected 0.22.3 – 0.22.3 Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*——LibRaw
  • cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* Versions — — ·LibRaw

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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-135176
  2. 2026-11-23 CISA SSVC decision points changed
  3. 2026-11-23 Alias added: GHSA-2hh2-8359-9qc2
  4. 2026-11-27 Affected versions changed · Red Hat
  5. 2026-11-27 CVSS score added · Red Hat

References

  • 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
See all 68 →

Sources