Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted Nikon NEF/TIFF file
-
ExploitVictim app decodes image with LibRaw
-
ExecutionparseNikonMakernote reads past short ShotInfo buffer
-
ImpactHeap out-of-bounds read crashes application
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 decode a crafted Nikon NEF/TIFF image containing a malformed 5-byte ShotInfo makernote tag declaring version 243, using an application or service built on LibRaw version 0.22.2 or earlier with Nikon makernote parsing active. Limiting factors: the attacker cannot trigger it remotely on its own - a user or automated pipeline must open/process the attacker-supplied file (UI:P, AV:L), the file must specifically target the Nikon ShotInfo code path, and the outcome is confined to crashing the process (availability only); there is no confirmed memory disclosure, code execution, or privilege gain. |
| Impact | This is a moderate-risk availability flaw, not a top-priority emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, score 6.8) tells a consistent story: low attack complexity and no privileges needed, but the attacker must get a victim to passively process a crafted file (UI:P) and the only impact is availability (VA:H) - a crash - with zero confidentiality or integrity impact (VC:N/VI:N). Notably, the CWE (CWE-125 out-of-bounds read) and the 'Information Disclosure' tag suggest data leakage, but the CVSS explicitly sets VC:N, meaning the realistic outcome is a denial-of-service crash of the decoding application, not memory disclosure - this apparent conflict should be noted: the OOB read terminates the process rather than returning readable data to the attacker. No EPSS score was provided and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation. No explicit POC flag was supplied, though a detailed public technical writeup (hackmd) and the exact vulnerable source lines on GitHub are referenced, which materially lowers the barrier to building a trigger. Overall: a real, easily-triggered DoS in a popular library, but bounded impact (crash only) and no confirmed exploitation keep this below critical priority - patch on a normal cadence. |
| Exploit ScenarioDerived | An attacker crafts a malicious Nikon NEF/TIFF image embedding a 5-byte ShotInfo makernote tag that falsely declares version 243, then delivers it to a victim (e.g., via email, upload, or a shared photo) who opens it in any application or service using LibRaw ≤0.22.2. When LibRaw::parseNikonMakernote() reads past the short ShotInfo buffer, the application crashes (denial of service). A public technical writeup detailing the exact offending code path exists, making a working trigger file straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Heap-based out-of-bounds read in LibRaw through 0.22.2 allows a crafted Nikon NEF/TIFF file to crash applications that decode it. The flaw lives in LibRaw::parseNikonMakernote(), where a malformed 5-byte ShotInfo makernote tag declaring version 243 causes the parser to read past the end of a short buffer; because the file must be opened or processed by the victim (CVSS vector PR:N but AV:L/UI:P in the v4.0 score, and AV:L/UI:R in our independent v3.1 assessment), an attacker cannot trigger it remotely on their own. Impact is assessed as availability-only - no confirmed memory disclosure, code execution, or privilege gain - and no public exploit code or confirmed active exploitation was identified at time of analysis, though a technical writeup and the affected source lines are publicly linked. This is a moderate-risk availability flaw, not a top-priority emergency.
RemediationAI
No vendor-released patch identified at time of analysis: the provided references cite the LibRaw repository and the specific vulnerable source range but no fixed version, commit, PR, or release note, so the exact remediation version cannot be stated and should not be assumed. Track https://github.com/LibRaw/LibRaw and the VulnCheck advisory (https://www.vulncheck.com/advisories/libraw-through-0.22.2-heap-out-of-bounds-read-via-parsenikonmakernote-shotinfo) for an upstream fix and upgrade as soon as a patched LibRaw release becomes available. Until then, apply compensating controls targeted at the actual exposure: isolate decoding of untrusted NEF/TIFF files in a separate unprivileged worker process or container with memory limits, a filesystem sandbox, and no access to credentials or production data, so the out-of-bounds read can at worst terminate the sandboxed worker - the trade-off is added latency, orchestration complexity, and the need to restart workers after crashes. Where business needs permit, reject or quarantine Nikon NEF/TIFF uploads at the ingestion boundary (content-type and magic-byte filtering, plus image-vetting before handing files to the decoder), accepting the loss of legitimate Nikon RAW support, and consider routing untrusted images to a non-LibRaw decoder such as an external, sandboxed raw processor. Also monitor for repeated decoder crashes as an indicator of malformed ShotInfo input, since this bug's only reliable observable symptom is process termination.
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 widely embedded C++ library for reading raw camera formats, and it parses vendor 'makernote' metadata blocks inside TIFF/RAW containers. CVE-2026-111272 is a CWE-125 out-of-bounds read in LibRaw::parseNikonMakernote() (source reference points to src/metadata/nikon.cpp, roughly lines 873-967), the routine that walks Nikon-specific makernote tags. The tag of interest is ShotInfo: the code reads a variable-length structure whose declared version (243) determines subsequent field offsets, but the buffer supplied is only 5 bytes, so a read past the end of that short heap allocation occurs - for example when dereferencing the orientation offset. The CPE cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* denotes all LibRaw releases up to and including 0.22.2 with no version constraint, meaning every distribution of the library is in scope. Public tags label this as both Buffer Overflow and Information Disclosure, but the authoritative assessment constrains the outcome to a process crash (availability only); the out-of-bounds read is bounded by surrounding heap memory and no reliable leak or control-flow hijack has been demonstrated, so downstream impact (SC/SI/SA) is rated None. Because LibRaw is a library rather than a standalone service, the exploitable surface is every application, thumbnailer, import pipeline, or cloud image-processing service built on it that ingests untrusted Nikon NEF/TIFF input.
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
Attacker supplies a malicious local file that the victim must open (AV:L, UI:R), no privileges needed (PR:N), and the OOB read only crashes the app (A:H, C:N/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
LibRaw through 0.22.2 contains a heap-based out-of-bounds read in LibRaw::parseNikonMakernote() that allows attackers to read past a short ShotInfo buffer. Attackers can supply a crafted Nikon NEF/TIFF with a 5-byte ShotInfo tag declaring version 243 to crash applications decoding the image.
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.
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-102527
GHSA-7w2h-vp67-rpcv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB