Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted four-frame Pentax DNG to victim
-
ExploitApp with PENTAX_PS_ALLFRAMES scans tiff_ifd[] past 10 entries
-
ImpactOut-of-bounds read crashes application (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 three concrete conditions, all reflected in the AC:H/AT:P/UI:P metrics: (1) the LibRaw-based application must have the LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES raw option explicitly enabled, which is not the default; (2) the attacker must supply a crafted four-frame Pentax DNG file containing too few IFDs matching the declared raw dimensions; and (3) a user or service must open/process that file (UI:P, AV:L - the file is the local delivery vector). Limiting factors that reduce realistic risk: the non-default option gate, the requirement that the file reach and be processed by the victim, the high attack complexity of shaping a valid-but-malformed Pentax four-shot file, and the fact that the only outcome is a crash - not code execution or data disclosure. |
| Impact | This is a genuinely moderate-to-low real-world risk despite being a memory-safety bug. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) and the 5.7 base score converge with the vuln.today 'this_month' decision label to describe a non-urgent issue: the attack is local (a malicious file must reach the victim), of high complexity, carries an explicit attack requirement (AT:P), and needs passive user interaction (the victim must process the file). The only impact is availability (VA:H) - an application crash - with no confidentiality or integrity impact (VC:N/VI:N), so this is strictly denial of service. No EPSS score, no CISA KEV listing, and no confirmed proof-of-concept exploit code are present in the input, so there is no signal of active or widespread exploitation. The signals are internally consistent (DoS-only impact, local file-based delivery, high complexity) and do not conflict. Critically, exploitation also depends on a non-default configuration (the LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES option being enabled), which the CVSS AC:H/AT:P metrics reflect. Net assessment: a real but low-priority bug - appropriate to patch on a normal monthly cycle rather than as an emergency. |
| Exploit ScenarioDerived | An attacker crafts a four-frame Pentax DNG raw file that declares raw dimensions but supplies too few IFDs, then gets a victim to open it in an application built on LibRaw that has the PENTAX_PS_ALLFRAMES raw option enabled. When pentax_4shot_load_raw() scans tiff_ifd[] past its 10-entry bound, the out-of-bounds read crashes the application, causing denial of service. No public exploit was identified in the provided data, though the upstream GitHub issue (#890) documents the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Out-of-bounds read in LibRaw through 0.22.3 can crash applications when a crafted four-frame Pentax DNG is processed with the non-default LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES option enabled. The bug is a CWE-125 read past the fixed 10-entry tiff_ifd[] array in LibRaw::pentax_4shot_load_raw(), and the assessed impact is denial of service only, with no confidentiality or integrity effect. No public exploit identified at time of analysis, and exploitation requires local file delivery plus user interaction.
RemediationAI
No vendor-released patch was identified at time of analysis; monitor https://github.com/LibRaw/LibRaw/issues/890 and https://www.vulncheck.com/advisories/libraw-through-0.22.3-out-of-bounds-read-via-pentax-4shot-load-raw for a fixed release. Until a patch is available, disable LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES in LibRaw-based applications, which removes access to the vulnerable Pentax four-shot all-frames path but turns off that non-default processing mode. Avoid opening or processing untrusted four-frame Pentax DNG files; if such files must be handled, process them in an isolated low-privilege worker so a crash cannot take down the primary application or service.
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
The flaw is an out-of-bounds read (CWE-125) in LibRaw::pentax_4shot_load_raw(), part of LibRaw's Pentax DNG decoding path. The routine scans the tiff_ifd[] array, which has 10 entries, and a crafted four-frame Pentax DNG with too few IFDs matching the declared raw dimensions can cause the scan to index beyond that array. The affected decoding path is gated by LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES being explicitly enabled, which is not the default. The supplied references point to the upstream GitHub issue and the relevant 0.22.3 source lines in decoders_libraw.cpp, and the CPE cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* covers LibRaw. The assessed vector is CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H, reflecting local file delivery, high attack complexity, user interaction, and a crash-only impact; the provided sources do not describe any trigger beyond the crafted Pentax four-shot DNG path.
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:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
File is parsed locally (AV:L) and a victim must open it (UI:R); the non-default option plus precise malformed-IFD requirement make it AC:H; no attacker privileges (PR:N); impact is crash-only, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
LibRaw through 0.22.3 contains an out-of-bounds read vulnerability in LibRaw::pentax_4shot_load_raw() that allows attackers to crash applications by scanning tiff_ifd[] beyond its 10 entries. Attackers can supply a crafted four-frame Pentax DNG with too few IFDs matching the raw dimensions to cause denial of service when LIBRAW_RAWOPTIONS_PENTAX_PS_ALLFRAMES is enabled.
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-133099
GHSA-p6p7-qgq3-v93f
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB