Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39886

CVE-2026-39886: OpenEXR Buffer Overflow Vulnerability

CVE-2026-39886 is a buffer overflow flaw in OpenEXR versions 3.4.0-3.4.9 affecting HTJ2K decompression. A signed integer overflow in the bytes-per-line accumulator can trigger heap out-of-bounds writes. This article covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-39886 Overview

CVE-2026-39886 is a signed integer overflow vulnerability in OpenEXR's HTJ2K (High-Throughput JPEG 2000) decompression path. OpenEXR provides the specification and reference implementation of the EXR file format, a high dynamic range image storage format widely used in the motion picture and visual effects industries. The vulnerability exists in the ht_undo_impl() function within src/lib/OpenEXRCore/internal_ht.cpp, where a bytes-per-line accumulator (bpl) is stored as a 32-bit signed integer without proper overflow protection.

A maliciously crafted EXR file containing 16,385 FLOAT channels at the HTJ2K maximum width of 32,767 pixels can cause the bpl variable to overflow INT_MAX, resulting in undefined behavior. On systems where large memory allocations succeed (~64 GB), this wrapped negative value is subsequently used as a per-scanline pointer advance, leading to a heap out-of-bounds write condition. On memory-constrained systems, the allocation fails before the vulnerable code path is reached.

Critical Impact

Integer overflow in OpenEXR's HTJ2K decompression can lead to heap out-of-bounds write when processing maliciously crafted EXR files, potentially enabling code execution in applications processing untrusted image files.

Affected Products

  • OpenEXR versions 3.4.0 through 3.4.9
  • Applications and rendering pipelines using vulnerable OpenEXR library versions
  • Visual effects and compositing software integrating affected OpenEXR components

Discovery Timeline

  • 2026-04-21 - CVE-2026-39886 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-39886

Vulnerability Analysis

This vulnerability (CWE-190: Integer Overflow) represents the second distinct integer overflow discovered in the ht_undo_impl() function. A previous vulnerability, CVE-2026-34545, addressed a different overflow involving the int16_t p pixel-loop counter at approximately line 302, which overflows when iterating over channels whose width exceeds 32,767 pixels. However, that fix did not address the int bpl accumulator at line 211, which is the subject of this advisory.

The bpl accumulator was also not remediated by any of the eight security advisories included in the 2026-04-05 v3.4.9 release batch. This finding is structurally identical to CVE-2026-34588, which addressed a wcount*nx overflow in internal_piz.c for the PIZ compression codec.

Root Cause

The root cause is the use of a 32-bit signed integer (int bpl) to accumulate bytes-per-line calculations without implementing overflow guards or bounds checking. When processing EXR files with an extreme number of FLOAT channels (16,385) at maximum HTJ2K width (32,767), the multiplication and accumulation operations exceed INT_MAX (2,147,483,647), causing signed integer overflow which is undefined behavior in C/C++.

Attack Vector

The attack vector requires an attacker to craft a malicious EXR file with specific parameters designed to trigger the overflow condition. The attack scenario involves:

  1. Creating an EXR file specifying 16,385 FLOAT channels
  2. Setting the HTJ2K width to the maximum value of 32,767 pixels
  3. Delivering this file to a victim application that processes EXR images using a vulnerable OpenEXR version
  4. On allocator-permissive hosts, the overflow causes the bpl value to wrap to a negative number
  5. This negative value is then used as a scanline pointer advance, resulting in heap out-of-bounds write

The vulnerability is network-exploitable when applications process EXR files from untrusted sources, such as web applications, media processing pipelines, or collaborative content creation workflows.

Detection Methods for CVE-2026-39886

Indicators of Compromise

  • Unexpected crashes or memory corruption in applications processing EXR files
  • UBSan (Undefined Behavior Sanitizer) reports for signed integer overflow in ht_undo_impl() or internal_ht.cpp
  • EXR files with unusually high channel counts (approaching or exceeding 16,385 channels)
  • Memory allocation failures or extremely large allocation requests (~64 GB) when processing EXR files

Detection Strategies

  • Implement file validation to detect EXR files with abnormal channel counts before processing
  • Deploy runtime sanitizers (UBSan, ASan) in development and testing environments to catch overflow conditions
  • Monitor application logs for memory allocation failures associated with EXR processing
  • Use static analysis tools to identify similar integer overflow patterns in custom code that interfaces with OpenEXR

Monitoring Recommendations

  • Enable crash reporting and memory error detection in production media processing systems
  • Implement input validation policies that reject EXR files exceeding reasonable channel count thresholds
  • Monitor system resource utilization for anomalous memory allocation patterns during image processing operations

How to Mitigate CVE-2026-39886

Immediate Actions Required

  • Upgrade OpenEXR to version 3.4.10 or later immediately
  • Audit systems processing untrusted EXR content for vulnerable library versions
  • Implement input validation to reject EXR files with excessive channel counts as a defense-in-depth measure
  • Review other applications in your environment that may bundle or statically link vulnerable OpenEXR versions

Patch Information

OpenEXR version 3.4.10 contains the official remediation that addresses the integer overflow vulnerability in internal_ht.cpp. The fix implements proper overflow checking for the bpl accumulator using the same pattern applied to CVE-2026-34588. Organizations should upgrade to this version or later.

For detailed patch information, refer to the OpenEXR v3.4.10 Release and the GitHub Security Advisory GHSA-r3mr-mx8q-jcw5.

Workarounds

  • If immediate patching is not possible, implement input validation that rejects EXR files with channel counts exceeding application requirements
  • Consider disabling HTJ2K decompression support if not required for your use case
  • Process untrusted EXR files in sandboxed or memory-constrained environments where large allocations will fail safely
  • Implement file size and complexity limits for EXR processing to reduce attack surface
bash
# Upgrade OpenEXR to patched version
# Using package manager (example for systems with OpenEXR packages)
apt-get update && apt-get install openexr=3.4.10

# Or rebuild from source
git clone https://github.com/AcademySoftwareFoundation/openexr.git
cd openexr
git checkout v3.4.10
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build --target install

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechOpenexr

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-190
  • Technical References
  • GitHub OpenEXR Release 3.4.10
  • Vendor Resources
  • GitHub Security Advisory GHSA-r3mr-mx8q-jcw5
  • Related CVEs
  • CVE-2026-40250: OpenEXR Buffer Overflow Vulnerability

  • CVE-2026-40244: OpenEXR Buffer Overflow Vulnerability

  • CVE-2026-34379: OpenEXR Buffer Overflow Vulnerability

  • CVE-2026-34380: OpenEXR Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English