Read the docs

Out-of-bounds read in LibRaw crashes apps decoding crafted files

Priority LOW 29CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-125 and the CVSS impact.

Summary

LibRaw from 0.22.0 through 0.22.3 contains an out-of-bounds read in HuffTable::len() because parse_dht() stores Huffman DC symbols without checking that they are valid difference categories (CWE-125). An attacker can supply a crafted TIFF or ARW file with oversized Huffman symbols in a Sony YCbCr lossless JPEG stream, and when an application decodes it, the application crashes, causing denial of service.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

LibRaw 0.22.0 through 0.22.3 contains a heap out-of-bounds read vulnerability in HuffTable::len() because parse_dht() stores Huffman DC symbols without validating them as difference categories. Attackers can supply a crafted TIFF/ARW file with oversized Huffman symbols in a Sony YCbCr lossless JPEG stream to crash applications decoding it, causing denial of service.

Why it matters now

EPSS 0.00172 3rd percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LibRawLibRaw0.22.0 – 0.22.3—No fix listedCNA
  • LibRaw VendorLibRaw Affected 0.22.0 – 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.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-135167
  2. 2026-11-23 Alias added: GHSA-898r-59mp-8c4h

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-96754 Heap out-of-bounds write in LibRaw xtrans_interpolate CVSS 4.0MEDIUM 5.8
  • 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
See all 68 →

Sources