Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135167: medium-severity vulnerability (CVSS 6.8) in LibRaw LibRaw.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.8.
Affected products and versions
LibRaw LibRaw >= 0.22.0, <= 0.22.3
| Product | Versions | Fixed in |
|---|---|---|
| LibRaw LibRaw | >= 0.22.0, <= 0.22.3 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/LibRaw/LibRaw/issues/892 — CVE Program
- https://github.com/LibRaw/LibRaw/commit/d270dbf557ff1f68757e1b93a84b91c3c1a13ce7 — CVE Program
- https://github.com/LibRaw/LibRaw/blob/0.22.3/internal/losslessjpeg.h#L189-L195 — CVE Program
- https://www.vulncheck.com/advisories/libraw-0.22.0-through-0.22.3-out-of-bounds-read-via-hufftable-len — CVE Program
Weaknesses (CWE): CWE-125
Relevant change history
Published
Preliminary advisory published.