{"id":"CVE-2026-135167","summary":"LibRaw 0.22.0 through 0.22.3 Out-of-Bounds Read via HuffTable::len","details":"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.","modified":"2026-11-23T16:00:22.203108058Z","published":"2026-11-23T14:38:53.871Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135167.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135167.json"},{"type":"PACKAGE","url":"https://github.com/LibRaw/LibRaw"},{"type":"ARTICLE","url":"https://github.com/LibRaw/LibRaw/blob/0.22.3/internal/losslessjpeg.h#L189-L195"},{"type":"FIX","url":"https://github.com/LibRaw/LibRaw/commit/d270dbf557ff1f68757e1b93a84b91c3c1a13ce7"},{"type":"REPORT","url":"https://github.com/LibRaw/LibRaw/issues/892"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135167"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libraw-0.22.0-through-0.22.3-out-of-bounds-read-via-hufftable-len"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libraw/libraw","events":[{"introduced":"0b56545a4f828743f28a4345cdfdd4c49f9f9a2a"},{"last_affected":"cf02d66eb5c19d4e46df7aee0582e47a4918509a"},{"fixed":"d270dbf557ff1f68757e1b93a84b91c3c1a13ce7"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.22.0"},{"last_affected":"0.22.3"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"d270dbf557ff1f68757e1b93a84b91c3c1a13ce7"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["0.22.3","0.22.2","0.22.1","0.22.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135167.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}