GHSA-898r-59mp-8c4hMediumCVSS 5.5
LibRaw 0.22.0 through 0.22.3 contains a heap out-of-bounds read vulnerability in HuffTable::len()...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-135167
- https://github.com/LibRaw/LibRaw/issues/892
- https://github.com/LibRaw/LibRaw/commit/d270dbf557ff1f68757e1b93a84b91c3c1a13ce7
- https://github.com/LibRaw/LibRaw/blob/0.22.3/internal/losslessjpeg.h#L189-L195
- https://www.vulncheck.com/advisories/libraw-0.22.0-through-0.22.3-out-of-bounds-read-via-hufftable-len
- https://github.com/advisories/GHSA-898r-59mp-8c4h