CVE-2026-135167

LibRaw 0.22.0 through 0.22.3 Out-of-Bounds Read via HuffTable::len

Published Nov 23, 2026 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

LibRaw 0.22.0 through 0.22.3 contains a heap out‑of‑bounds read in the HuffTable::len function, caused by parse_dht storing Huffman DC symbols without validating them as acceptable difference categories. A crafted TIFF or ARW file with oversized Huffman symbols in a Sony YCbCr lossless JPEG stream can trigger this vulnerability, leading to a crash of any application that processes the file and resulting in a denial of service.

Affected Systems

The vulnerability afflicts the LibRaw library, specifically versions 0.22.0, 0.22.1, 0.22.2 and 0.22.3. Any software that links against these versions and processes TIFF or ARW images is potentially affected.

Risk and Exploitability

The CVSS score is 6.8, indicating moderate severity. No EPSS score is available and the issue is not listed in CISA KEV. Exploitation requires an attacker to supply a malicious TIFF/ARW file to an application that invokes LibRaw for decoding. Upon parsing such a file, the library performs an out‑of‑bounds read that crashes the application, causing a local denial of service. The vulnerability does not grant code execution or wider system compromise and is limited to the process executing LibRaw.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibRaw to a patched release (0.22.4 or later) that resolves the HuffTable::len issue.
  • If an upgrade cannot occur immediately, configure applications to reject or quarantine high‑entropy, untrusted TIFF/ARW files before decoding with LibRaw.
  • Implement a sandbox or separate process for image decoding to contain any crash or denial of service from malformed files.

Generated by OpenCVE AI on November 23, 2026 at 15:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title LibRaw 0.22.0 through 0.22.3 Out-of-Bounds Read via HuffTable::len
First Time appeared Libraw
Libraw libraw
Weaknesses CWE-125
CPEs cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*
Vendors & Products Libraw
Libraw libraw
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 23, 2026, 3:32 PM
Reserved
Nov 23, 2026, 2:20 PM
Status
Deferred
Published
Nov 23, 2026, 3:17 PM
Modified
Nov 23, 2026, 4:17 PM