
LibRaw 0.22.3 Patched for Heap Out-of-Bounds Read in Huffman Table Parsing
A medium-severity vulnerability, CVE-2026-135167, has been identified in LibRaw versions 0.22.0 through 0.22.3. The flaw involves a heap out-of-bounds read in the HuffTable::len() function, triggered when parse_dht() stores Huffman DC symbols without validating them as difference categories. Attackers can exploit this by supplying a crafted TIFF or ARW file containing oversized Huffman symbols within a Sony YCbCr lossless JPEG stream, causing applications to crash and resulting in denial of service. The issue has been assigned a CVSS 4.0 score of 6.8 (Medium) and a CVSS 3.1 score of 5.5 (Medium). A patch has been released to address the vulnerability.