LibRaw 0.22.0 through 0.22.3 contains a heap out-of-bounds read vulnerability in HuffTable::len() because parse_dht()
Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium.
Data as of 23 Nov 2026, 16:41 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LibRawLibRaw | Affected
| Fixed in– |
GitHubLibRawpkg:github/LibRawOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted TIFF/ARW files containing Sony YCbCr lossless JPEG streams or apply application-level mitigations if possible.
Description
LibRaw versions 0.22.0 through 0.22.3 have a heap out-of-bounds read vulnerability in the HuffTable::len() function. This occurs because the parse_dht() function stores Huffman DC symbols without validating them as difference categories. A specially crafted TIFF/ARW file with oversized Huffman symbols in a Sony YCbCr lossless JPEG stream can trigger this flaw, causing applications decoding the file to crash and resulting in denial of service.
References
- nvd.nist.gov/vuln/detail/CVE-2026-135167 (opens in a new tab)
- github.com/LibRaw/LibRaw/issues/892 (opens in a new tab)
- github.com/LibRaw/LibRaw/commit/d270dbf557ff1f68757e1b93a84b91c3c1a13ce7 (opens in a new tab)
- github.com/LibRaw/LibRaw/blob/0.22.3/internal/losslessjpeg.h (opens in a new tab)
- vulncheck.com/advisories/libraw-0.22.0-through-0.22.3-out-of-bounds-read-via-hufftable-len (opens in a new tab)