Heap Out-of-Bounds Read Vulnerability in LibRaw by LibRaw
CVE-2026-135167
6.8MEDIUM
What is CVE-2026-135167?
LibRaw versions 0.22.0 through 0.22.3 are vulnerable to a heap out-of-bounds read issue stemming from improper validation of Huffman DC symbols in the parse_dht() function. An attacker can exploit this vulnerability by crafting a specially designed TIFF or ARW file that contains oversized Huffman symbols within a Sony YCbCr lossless JPEG stream. Such a file can cause applications decoding it to crash, leading to denial of service situations. This vulnerability illustrates the importance of rigorously validating input in multimedia processing.
Affected Version(s)
LibRaw 0.22.0 <= 0.22.3
