CVE-2026-135167
Deferred Deferred - Pending Action

Heap Out-of-Bounds Read in LibRaw via Sony YCbCr JPEG Stream

Vulnerability report for CVE-2026-135167, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-23

Last updated on: 2026-11-23

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-23
Last Modified
2026-11-23
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
LibRaw LibRaw From 0.22.0 (inc) to 0.22.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap out-of-bounds read in LibRaw versions 0.22.0 through 0.22.3. It occurs in the HuffTable::len() function due to unvalidated Huffman DC symbols stored by parse_dht(). Attackers can exploit this by providing a crafted TIFF/ARW file with oversized Huffman symbols in a Sony YCbCr lossless JPEG stream, causing applications to crash and leading to denial of service.

Detection Guidance

To detect this vulnerability, inspect systems running LibRaw versions 0.22.0 through 0.22.3. Check for crashes when processing TIFF/ARW files with malformed Huffman tables. Use commands like 'libraw_version' to verify installed versions and 'file' to analyze suspicious files.

Impact Analysis

If you use applications that rely on LibRaw 0.22.0 to 0.22.3 to process TIFF or ARW files, an attacker could supply a maliciously crafted file to crash the application, resulting in denial of service. This could disrupt image processing workflows or services dependent on these files.

Mitigation Strategies

Upgrade LibRaw to a patched version beyond 0.22.3. If upgrading is not possible, avoid processing untrusted TIFF/ARW files, especially those with unusual Huffman symbols. Implement file validation checks before processing.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-135167. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...