Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted Sony ARW/TIFF raw file
-
ExploitVictim app decodes YCbCr lossless JPEG stream
-
ExecutionOversized Huffman symbols trigger OOB read in HuffTable::len()
-
ImpactApplication crashes (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to open or import an attacker-supplied raw image file (Sony TIFF/ARW) containing a YCbCr lossless JPEG stream with oversized Huffman DC symbols, using an application that links a vulnerable LibRaw (0.22.0 through 0.22.3); the specific trigger is the Sony lossless-JPEG decode path through parse_dht() and HuffTable::len(). No authentication or privileges are needed (PR:N). Limiting factors: the vector is local/file-based (AV:L), it requires user interaction to process the file (UI:P), it is constrained to the affected version range, and the impact is limited to a crash (denial of service) with no code execution or data disclosure. |
| Impact | This is a medium-severity, availability-only issue, and the signals are internally consistent in pointing to limited real-world urgency rather than an emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) describes a local, file-driven flaw: the attacker does not need privileges but does need the victim to process a crafted file (UI:P), and the only impact is availability (VA:H) - a crash/denial of service with no confidentiality or integrity effect. The vuln.today Decision label is 'this_month', not act_now or emergency, which aligns with the DoS-only impact. There is no KEV listing and no EPSS score in the supplied data, so there is no evidence of active or probable exploitation; absence of these is not itself an error, but it means exploitation likelihood cannot be quantified from the input. No reference is marked as confirmed working exploit code, so no public exploit is identified at this time. The one conflicting signal is the 'Information Disclosure' tag: it contradicts both the CVSS (VC:N - no confidentiality impact) and the description, which states the out-of-bounds read only crashes the application. Treat this as a crash/DoS bug, not an info-leak, unless a vendor source says otherwise. Net: a legitimate but non-critical issue - patch on a routine cycle for any product that decodes untrusted raw image files with LibRaw 0.22.0-0.22.3. |
| Exploit ScenarioDerived | An attacker crafts a malicious Sony raw image (TIFF/ARW) containing a YCbCr lossless JPEG stream with oversized Huffman DC symbols and delivers it to a victim (e.g., as an email attachment or web download). When the victim opens or imports the file in any application that uses a vulnerable LibRaw build to decode it, parse_dht() stores unvalidated symbols and HuffTable::len() performs a heap out-of-bounds read, crashing the application. No public exploit is identified at time of analysis; triggering requires only that the victim process the file (UI:P), with no authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Heap out-of-bounds read in LibRaw 0.22.0 through 0.22.3 is a medium-severity issue that can crash applications decoding attacker-supplied Sony TIFF/ARW files, resulting in a local denial of service. The flaw sits in the lossless-JPEG Huffman-table path, where oversized DC symbols are stored without validation and later used to index the table; no authentication or privileges are required, but the victim must open or import the crafted raw image, and the assessed impact is availability-only. No public exploit identified at time of analysis and no CISA KEV confirmation is supplied; the vendor patch is available and the priority decision is this_month.
RemediationAI
Apply the vendor patch or upgrade LibRaw to a build that includes commit d270dbf557ff1f68757e1b93a84b91c3c1a13ce7; the supplied data says a patch is available from the vendor but does not state an exact fixed release version. Verify that the fixed build contains the HuffTable mask field and the hufftable[code & mask] lookup in internal/losslessjpeg.h and src/decompressors/losslessjpeg.cpp. No vendor-documented workaround is included in the supplied references; because exploitation requires the victim to open the crafted TIFF/ARW file, limiting processing of untrusted raw images reduces exposure but is not a substitute for the patch. Vendor advisory: https://www.vulncheck.com/advisories/libraw-0.22.0-through-0.22.3-out-of-bounds-read-via-hufftable-len; upstream issue: https://github.com/LibRaw/LibRaw/issues/892.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LibRaw is a library for decoding raw camera formats, and the affected code is the lossless-JPEG Huffman decoder used for Sony YCbCr lossless streams in TIFF/ARW files. The root cause is CWE-125: parse_dht() accepts Huffman DC symbols without validating them as difference categories, and HuffTable::len() then uses the resulting code as an index into the Huffman table. The supplied fix commit d270dbf557ff1f68757e1b93a84b91c3c1a13ce7 adds a mask field to HuffTable, initializes it in initval() as (1U << nbits) - 1, and changes the lookup to hufftable[code & mask], bounding the index to the valid bit width. The vulnerability is a read-only out-of-bounds access that can crash the decoding process; the authoritative assessment records C:N/I:N/A:H, so no code execution or data disclosure is confirmed, even though the tag list includes Information Disclosure. The supplied CVSS 4.0 score is 6.8 (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N), and the independent CVSS 3.1 assessment is AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
Know when Libraw gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
File must be opened by the victim, so AV:L and UI:R; no privileges (PR:N); out-of-bounds read only crashes the app, so C:N/I:N and A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
There is a stack-based buffer overflow in the parse_makernote function of dcraw_common.cpp in LibRaw 0.19.1. Rated high
Multiple double free vulnerabilities in the LibRaw::unpack function in libraw_cxx.cpp in LibRaw before 0.15.2 allow cont
A buffer overflow vulnerability in LibRaw version < 20.0 LibRaw::GetNormalizedModel in src/metadata/normalize_model.cpp
Buffer overflow in the exposure correction code in LibRaw before 0.15.1 allows context-dependent attackers to cause a de
Heap-based buffer overflow in LibRaw's lossless JPEG processing (commits 0b56545 and d20315b) allows unauthenticated rem
A flaw was found in LibRaw. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authenticat
LibRaw before 0.20-Beta3 has an out-of-bounds write in parse_exif() in metadata\exif_gps.cpp via an unrecognized AtomNam
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow. Rated medium severity (CVSS 6.5), this vulnerabi
LibRaw::copy_bayer in libraw_cxx.cpp in LibRaw 0.19.1 has a NULL pointer dereference. Rated medium severity (CVSS 6.5),
LibRaw::raw2image in libraw_cxx.cpp in LibRaw 0.19.1 has a NULL pointer dereference. Rated medium severity (CVSS 6.5), t
A Stack-based Buffer Overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before 0.18.3.
An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be expl
EUVD-2026-133071
GHSA-898r-59mp-8c4h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB