Technical impact
LibRaw 0.22.0 through 0.22.3 contains a heap out‑of‑bounds read in the HuffTable::len function, caused by parse_dht storing Huffman DC symbols without validating them as acceptable difference categories. A crafted TIFF or ARW file with oversized Huffman symbols in a Sony YCbCr lossless JPEG stream can trigger this vulnerability, leading to a crash of any application that processes the file and resulting in a denial of service.
Affected Systems
The vulnerability afflicts the LibRaw library, specifically versions 0.22.0, 0.22.1, 0.22.2 and 0.22.3. Any software that links against these versions and processes TIFF or ARW images is potentially affected.
Risk and Exploitability
The CVSS score is 6.8, indicating moderate severity. No EPSS score is available and the issue is not listed in CISA KEV. Exploitation requires an attacker to supply a malicious TIFF/ARW file to an application that invokes LibRaw for decoding. Upon parsing such a file, the library performs an out‑of‑bounds read that crashes the application, causing a local denial of service. The vulnerability does not grant code execution or wider system compromise and is limited to the process executing LibRaw.