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

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-23T14:38:53.871Z
- Modified: 2026-11-23T16:17:36.970Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- LibRaw LibRaw: from 0.22.0 up to 0.22.3

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/LibRaw/LibRaw/issues/892> (exploit, issue-tracking)
- <https://github.com/LibRaw/LibRaw/commit/d270dbf557ff1f68757e1b93a84b91c3c1a13ce7> (patch)
- <https://github.com/LibRaw/LibRaw/blob/0.22.3/internal/losslessjpeg.h#L189-L195> (technical-description)
- <https://www.vulncheck.com/advisories/libraw-0.22.0-through-0.22.3-out-of-bounds-read-via-hufftable-len> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-135167](https://www.cve.org/CVERecord?id=CVE-2026-135167), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-135167](https://nvd.nist.gov/vuln/detail/CVE-2026-135167), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-135167 · Whole record: https://cve.day/CVE-2026-135167.json · Rebuilt by cve.day 2026-11-25T22:59:52.650Z
