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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LibRaw | LibRaw | 0.22.0 – ≤ 0.22.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | kodi +6 | No fix yet | — |
| Ubuntu 26.04 LTS | kodi +6 | No fix yet | — |
| Ubuntu 24.04 LTS | kodi +6 | No fix yet | — |
| Ubuntu 22.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 20.04 LTS | kodi +5 | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu 16.04 LTS | kodi +5 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | digikam | No fix yet | — |
| Ubuntu Pro 20.04 LTS | digikam | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libraw +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | libraw +1 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libraw | 0.22.3-1.1 | openSUSE-SU-2026:12712-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
googlesky/CVE-2026-135167 ★ 0 · Nov 24, 2026
LibRaw 0.22.0-0.22.3: unvalidated Huffman DC symbols let a crafted Sony ARW DHT derive nbits=0 and index a one-entry hufftable with an arbitrary value — OOB read/DoS. Verbatim len() from d270dbf^ vs …
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- openSUSE-SU-2026:12712-1 libraw-devel-0.22.3-1.1 on GA media SUSE / openSUSE Security Updates · Nov 28, 2026
References
- https://github.com/LibRaw/LibRaw/issues/892 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
- VulnCheck Advisory: LibRaw 0.22.0 through 0.22.3 Out-of-Bounds Read via HuffTable::len third-party-advisory