# CVE-2026-135167: LibRaw 0.22.0 through 0.22.3 Out-of-Bounds Read via HuffTable::len

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: UBUNTU-CVE-2026-135167
- Record: https://cvemate.com/vulnerability/CVE-2026-135167 · JSON: https://cvemate.com/vulnerability/CVE-2026-135167/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v4.0, CVE.org) 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
- EPSS: 0.417%, percentile 38.026%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu darktable (Ubuntu): All versions (No fix recorded)
- ubuntu dcraw (Ubuntu): All versions (No fix recorded)
- ubuntu digikam (Ubuntu): All versions (No fix recorded)
- ubuntu exactimage (Ubuntu): All versions (No fix recorded)
- ubuntu kodi (Ubuntu): All versions (No fix recorded)
- ubuntu libraw (Ubuntu): All versions (No fix recorded)
- ubuntu rawtherapee (Ubuntu): All versions (No fix recorded)
- ubuntu ufraw (Ubuntu): All versions (No fix recorded)
- libraw libraw: ≥ 0.22.0, ≤ 0.22.3

## References

- <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://ubuntu.com/security/CVE-2026-135167>
- <https://www.cve.org/CVERecord?id=CVE-2026-135167>

---

Data as of 2026-12-05T04:08:05.882Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
