Skip to main content

Libraw EUVDEUVD-2026-19618

| CVE-2026-20884 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-04-07 talos
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker crafts malicious DNG image file
  2. Delivery
    LibRaw processes file with deflate_dng_load_raw function
  3. Exploit
    Integer overflow occurs in size calculation
  4. Execution
    Heap buffer overflow triggered
  5. Impact
    Arbitrary code execution with process privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker provides a malicious DNG (Digital Negative) image file to a system running LibRaw (Commit 8dc68e2 or affected version). Victim must process/open the file with software using vulnerable LibRaw library. No authentication required; remote exploitation possible via file delivery.

Impact

The CVSS 3.1 score of 8.1 (High) reflects a serious vulnerability with network attack vector (AV:N), high attack complexity (AC:H), no privileges required (PR:N), and no user interaction needed (UI:N), with high impact to confidentiality, integrity, and availability. The AC:H rating suggests exploitation requires specific conditions such as winning a race condition or overcoming ASLR, which moderately reduces exploitability compared to AC:L vulnerabilities. However, the network attack vector without authentication makes this accessible to remote attackers who can deliver malicious DNG files through various channels including email attachments, web uploads, content ingestion pipelines, or automated image processing services. The vulnerability was responsibly disclosed by Cisco Talos (TALOS-2026-2364), indicating professional security research but no confirmed active exploitation (not present in CISA KEV). Without EPSS data, real-world exploitation probability cannot be quantitatively assessed, but the combination of remote exploitability, heap corruption primitive, and widespread LibRaw deployment in server-side image processing makes this a genuine priority. Applications automatically processing user-uploaded images without sandboxing face elevated risk. The technical impact of heap buffer overflow could enable arbitrary code execution in the context of the vulnerable application, making this automatable if weaponized. Priority should be elevated for internet-facing services processing untrusted image files, while isolated desktop applications with user-initiated file opening present lower immediate risk due to required social engineering.

Exploit ScenarioDerived

An attacker crafts a malicious Adobe DNG image file with carefully manipulated compression metadata and dimension parameters designed to trigger integer overflow in LibRaw's deflate_dng_load_raw size calculations. The attacker uploads this file to a vulnerable web application offering image conversion services, photo gallery uploads, or content management functionality that uses LibRaw for thumbnail generation. When the application processes the malicious DNG file, the integer overflow causes a smaller-than-required heap buffer allocation, followed by deflate decompression writing beyond buffer boundaries. The attacker leverages heap corruption to overwrite adjacent memory structures, potentially achieving arbitrary code execution in the context of the web application or image processing worker. No public exploit identified at time of analysis, but the detailed Talos disclosure provides sufficient technical information for skilled attackers to develop working exploits. The high attack complexity suggests exploitation may require additional techniques such as heap grooming or information leaks to reliably achieve code execution across different deployment environments.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 07, 2026

Integer overflow in LibRaw's deflate_dng_load_raw function (commit 8dc68e2) enables remote heap buffer overflow via crafted DNG image files, allowing potential code execution without authentication. With CVSS 8.1 and network-accessible attack vector requiring no user interaction, this represents significant risk for applications processing untrusted DNG files. EPSS data not available; no public exploit identified at time of analysis.

RemediationAI

Organizations should immediately update LibRaw to a version containing the fix for commit 8dc68e2 vulnerability once the vendor releases a patched version. Monitor the official LibRaw GitHub repository at https://github.com/LibRaw/LibRaw for security patches and release announcements. Until patches are available and deployed, implement defense-in-depth controls including: restrict DNG file processing to trusted sources only, deploy application sandboxing or containerization to limit exploit impact, implement file validation and sanitization before passing to LibRaw, and consider disabling DNG format support in non-essential workflows. For server-side applications, deploy web application firewalls or input validation to block suspicious DNG files, run image processing in isolated worker processes with minimal privileges, and enable address space layout randomization (ASLR) and data execution prevention (DEP) at the operating system level. Review Cisco Talos advisory TALOS-2026-2364 at https://talosintelligence.com/vulnerability_reports/TALOS-2026-2364 for additional technical indicators and detection guidance. Applications that cannot be immediately patched should implement strict input validation rejecting DNG files with anomalous compression parameters or dimension values that could trigger integer overflow conditions. Security teams should test patches in staging environments before production deployment to ensure compatibility with existing image processing workflows.

Affected VersionsENISA

LibRaw Commit 8dc68e2

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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-used open-source library for reading RAW image files from digital cameras, commonly integrated into image processing applications, photo management software, and content management systems. The vulnerability resides in the deflate_dng_load_raw function responsible for processing Adobe DNG (Digital Negative) format files with deflate compression. The root cause is an integer overflow (CWE-190) during size calculations when parsing malformed DNG metadata, which causes subsequent memory allocation to be undersized. When the library attempts to decompress image data into this insufficiently allocated buffer, a heap buffer overflow occurs, potentially corrupting adjacent memory structures. The CPE identifier cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:* indicates the vulnerability affects the LibRaw library itself, meaning all applications statically or dynamically linking this library version are potentially vulnerable. The deflate compression handling in DNG files involves complex integer arithmetic for calculating decompressed buffer sizes, making it susceptible to wraparound conditions when processing attacker-controlled dimension and compression parameters.

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

NVD PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 7.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 09, 2026 - 14:30 nvd
Patch available
CVE Published
Apr 07, 2026 - 13:49 nvd
HIGH 8.1

DescriptionCVE.org

An integer overflow vulnerability exists in the deflate_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Executive ViewAI

Why It Matters

CVE-2026-20884 is a critical integer overflow vulnerability in LibRaw affecting any application that processes DNG image files, potentially enabling remote code execution without authentication. Organizations using LibRaw in photo processing, digital asset management, or camera software face immediate risk if they accept untrusted image uploads or process user-supplied DNG files. Leadership should prioritize immediate mitigation since no vendor patch currently exists.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable DNG file processing if operationally feasible; (2) Restrict DNG uploads to authenticated, authorized users only with strict source validation; (3) Implement network segmentation isolating LibRaw processing systems from production infrastructure; (4) Deploy file integrity monitoring on systems processing DNG files; (5) Monitor for suspicious process execution or memory access patterns on affected systems; (6) Consider sandboxing LibRaw operations in isolated containers with minimal privileges.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed

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