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

CVE-2026-6192: OpenJPEG Buffer Overflow Vulnerability

CVE-2026-6192 is a buffer overflow flaw in uclouvain OpenJPEG up to version 2.5.4 that can be exploited locally. This article covers the technical details, affected versions, impact assessment, and mitigation steps.

Published: April 17, 2026

CVE-2026-6192 Overview

An integer overflow vulnerability was identified in uclouvain OpenJPEG versions up to 2.5.4. This vulnerability impacts the function opj_pi_initialise_encode in the library src/lib/openjp2/pi.c. The manipulation of specific parameters leads to an integer overflow condition during memory allocation calculations. The attack must be carried out locally, requiring an attacker to have local access to the target system. The exploit is publicly available and might be used in attacks. A patch has been released to address this issue.

Critical Impact

Local attackers can trigger an integer overflow in the JPEG 2000 image encoding library, potentially causing memory corruption or denial of service conditions in applications that process malicious image files.

Affected Products

  • OpenJPEG versions up to 2.5.4
  • Applications and libraries that integrate OpenJPEG for JPEG 2000 image processing
  • Systems using vulnerable OpenJPEG builds for image encoding operations

Discovery Timeline

  • April 13, 2026 - CVE-2026-6192 published to NVD
  • April 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-6192

Vulnerability Analysis

The vulnerability exists in the opj_pi_initialise_encode() function within the OpenJPEG library's packet iterator implementation. During the initialization of the encoding process, the function calculates memory requirements for the include array by multiplying l_tcp->numlayers by l_step_l. Without proper overflow checking, this multiplication can exceed the maximum value representable by the integer type, resulting in a smaller-than-expected memory allocation. This integer overflow condition (CWE-189) can lead to subsequent heap-based buffer overflows when the undersized buffer is used, potentially causing application crashes or enabling memory corruption attacks.

Root Cause

The root cause is the absence of integer overflow validation before performing arithmetic operations used to calculate buffer sizes. The original code directly multiplied l_tcp->numlayers and l_step_l without verifying that the result would fit within the bounds of the target integer type. When processing specially crafted JPEG 2000 images with extreme layer or step values, this multiplication can wrap around, producing a small value that leads to insufficient memory allocation.

Attack Vector

This is a local attack vector vulnerability. An attacker with local system access must craft a malicious JPEG 2000 image file with parameters designed to trigger the integer overflow condition. When a vulnerable application processes this image using OpenJPEG's encoding functionality, the overflow occurs during the opj_pi_initialise_encode() function execution. The attacker could potentially leverage this to cause denial of service through application crashes or potentially achieve more severe impacts through memory corruption.

c
// Security patch from commit 839936aa33eb8899bbbd80fda02796bb65068951
// Before (vulnerable):
    l_current_pi->include_size = l_tcp->numlayers * l_step_l;
    l_current_pi->include = (OPJ_INT16*) opj_calloc(l_current_pi->include_size,
                            sizeof(OPJ_INT16));

// After (fixed):
    l_current_pi->include = NULL;
    if (l_step_l <= UINT_MAX / l_tcp->numlayers) {
        l_current_pi->include_size = l_tcp->numlayers * l_step_l;
        l_current_pi->include = (OPJ_INT16*) opj_calloc(l_current_pi->include_size,
                                sizeof(OPJ_INT16));
    }
    if (!l_current_pi->include) {
        opj_free(l_tmp_data);
        opj_free(l_tmp_ptr);

Source: GitHub OpenJPEG Commit

Detection Methods for CVE-2026-6192

Indicators of Compromise

  • Application crashes or unexpected termination when processing JPEG 2000 image files
  • Memory allocation failures or out-of-memory errors in OpenJPEG-dependent applications
  • Unusual image files with abnormally large layer or resolution level configurations

Detection Strategies

  • Monitor for crashes in applications using OpenJPEG libraries with stack traces pointing to opj_pi_initialise_encode or pi.c
  • Implement file integrity monitoring for OpenJPEG library files to detect unauthorized modifications
  • Use static analysis tools to scan for vulnerable OpenJPEG versions in deployed software

Monitoring Recommendations

  • Enable crash dump collection for applications processing JPEG 2000 images to identify potential exploitation attempts
  • Monitor system logs for repeated application failures associated with image processing workflows
  • Audit software inventory to identify all instances of OpenJPEG library usage across the environment

How to Mitigate CVE-2026-6192

Immediate Actions Required

  • Update OpenJPEG to the patched version containing commit 839936aa33eb8899bbbd80fda02796bb65068951
  • Audit systems for applications that bundle or depend on OpenJPEG versions up to 2.5.4
  • Restrict local access to systems running vulnerable OpenJPEG versions until patching is complete
  • Consider temporarily disabling JPEG 2000 encoding functionality if not critical to operations

Patch Information

The OpenJPEG development team has released a security patch addressing this integer overflow vulnerability. The fix adds proper overflow checking before the multiplication operation by validating that l_step_l <= UINT_MAX / l_tcp->numlayers before performing the calculation. If the check fails, the allocation is skipped and proper error handling is triggered. The patch is available via commit 839936aa33eb8899bbbd80fda02796bb65068951. Additional details can be found in the associated GitHub Issue #1619 and Pull Request #1628.

Workarounds

  • Limit processing of untrusted JPEG 2000 image files until the patch can be applied
  • Implement input validation to reject image files with suspicious or extreme metadata values
  • Run OpenJPEG-dependent applications in sandboxed environments to limit impact of potential exploitation
bash
# Configuration example
# Verify installed OpenJPEG version and check for vulnerable builds
pkg-config --modversion libopenjp2

# Update OpenJPEG from source with the security patch
git clone https://github.com/uclouvain/openjpeg.git
cd openjpeg
git checkout 839936aa33eb8899bbbd80fda02796bb65068951
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make && sudo make 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/TechOpenjpeg

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-189
  • Technical References
  • GitHub OpenJPEG Repository

  • GitHub OpenJPEG Commit

  • GitHub OpenJPEG Issue

  • GitHub OpenJPEG Pull Request

  • VulDB Submission #797385

  • VulDB #357114

  • VulDB #357114 CTI
  • Related CVEs
  • CVE-2024-56827: OpenJPEG Buffer Overflow Vulnerability

  • CVE-2024-56826: OpenJPEG Buffer Overflow Vulnerability

  • CVE-2021-3575: Openjpeg 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