Out-of-bounds read in LibRaw crashes apps decoding crafted files
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for LibRaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Timeline
- 2026-11-23 Threatist record created from CVE-2026-135167
- 2026-11-23 Alias added: GHSA-898r-59mp-8c4h
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-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
Sources
- CVE-2026-135167 · CVE Program
- CVE-2026-135167 · NVD
- FIRST EPSS
- GHSA-898r-59mp-8c4h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences