Skip to main content

LibRaw CVE-2026-111272

| EUVDEUVD-2026-102527 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-15 VulnCheck GHSA-7w2h-vp67-rpcv
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted Nikon NEF/TIFF file
  2. Exploit
    Victim app decodes image with LibRaw
  3. Execution
    parseNikonMakernote reads past short ShotInfo buffer
  4. Impact
    Heap 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

LibRaw 0 ≤0.22.2

Affected Packages

euvd libraw no fix

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

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
widely embedded raw-image decoding library in many photo/imaging applications
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Libraw

View all
CVE-2018-20337 HIGH POC
8.8 Dec 21

There is a stack-based buffer overflow in the parse_makernote function of dcraw_common.cpp in LibRaw 0.19.1. Rated high

CVE-2013-2126 HIGH POC
7.5 Aug 14

Multiple double free vulnerabilities in the LibRaw::unpack function in libraw_cxx.cpp in LibRaw before 0.15.2 allow cont

CVE-2020-24889 HIGH POC
7.8 Sep 16

A buffer overflow vulnerability in LibRaw version < 20.0 LibRaw::GetNormalizedModel in src/metadata/normalize_model.cpp

CVE-2013-2127 HIGH POC
7.5 Aug 14

Buffer overflow in the exposure correction code in LibRaw before 0.15.1 allows context-dependent attackers to cause a de

CVE-2026-21413 CRITICAL
9.8 Apr 07

Heap-based buffer overflow in LibRaw's lossless JPEG processing (commits 0b56545 and d20315b) allows unauthenticated rem

CVE-2023-1729 MEDIUM POC
6.5 May 15

A flaw was found in LibRaw. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authenticat

CVE-2020-15365 MEDIUM POC
6.5 Jun 28

LibRaw before 0.20-Beta3 has an out-of-bounds write in parse_exif() in metadata\exif_gps.cpp via an unrecognized AtomNam

CVE-2018-20365 MEDIUM POC
6.5 Dec 22

LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow. Rated medium severity (CVSS 6.5), this vulnerabi

CVE-2018-20364 MEDIUM POC
6.5 Dec 22

LibRaw::copy_bayer in libraw_cxx.cpp in LibRaw 0.19.1 has a NULL pointer dereference. Rated medium severity (CVSS 6.5),

CVE-2018-20363 MEDIUM POC
6.5 Dec 22

LibRaw::raw2image in libraw_cxx.cpp in LibRaw 0.19.1 has a NULL pointer dereference. Rated medium severity (CVSS 6.5), t

CVE-2017-14265 CRITICAL
9.8 Sep 11

A Stack-based Buffer Overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before 0.18.3.

CVE-2017-6886 CRITICAL
9.8 May 16

An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be expl

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy