A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-11403

CVE-2024-11403: Libjxl Buffer Overflow Vulnerability

CVE-2024-11403 is a buffer overflow vulnerability in Libjxl_project Libjxl affecting the JPEG decoder during recompression. It allows out-of-bounds read/write operations. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 26, 2026

CVE-2024-11403 Overview

CVE-2024-11403 is an out-of-bounds read/write vulnerability in LibJXL, the reference implementation of the JPEG XL image format. The flaw resides in the JPEG decoder used by the JPEG XL encoder during JPEG recompression operations through the JxlEncoderAddJPEGFrame API. The decoder fails to properly check bounds when handling incomplete Huffman codes, which can lead to out-of-bounds writes. The same vulnerability is present in jpegli, released as part of the same project, where it can cause reads of uninitialized memory or function addresses. The issue is tracked as [CWE-125] (Out-of-bounds Read) and was fixed in commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99.

Critical Impact

Processing untrusted JPEG input through the LibJXL encoder can trigger out-of-bounds memory access, potentially exposing function addresses or enabling memory corruption.

Affected Products

  • libjxl_project libjxl (all versions prior to commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99)
  • jpegli (bundled in the same LibJXL project)
  • Applications using JxlEncoderAddJPEGFrame on untrusted input

Discovery Timeline

  • 2024-11-25 - CVE-2024-11403 published to NVD
  • 2025-07-24 - Last updated in NVD database

Technical Details for CVE-2024-11403

Vulnerability Analysis

The vulnerability stems from an undersized Huffman lookup table in the JPEG decoding path. The original code defined kJpegHuffmanLutSize as 758 entries, based on the assumption that this size is sufficient for an alphabet of 257 symbols with a maximum bit length of 16 when the root table has 8 bits. This assumption holds only when the Huffman code is complete, which is verified by zlib/examples/enough.c.

When an attacker supplies a malformed JPEG with incomplete Huffman codes, the table can require more entries than allocated. This causes the decoder to write past the buffer end. In LibJXL's encoder path, this triggers a direct out-of-bounds write. In jpegli, the buffer is part of a larger structure, so the write corrupts adjacent fields, which the code later reads without validation.

Root Cause

The root cause is an incorrect size assumption for the Huffman lookup table. The fix increases kJpegHuffmanLutSize from 758 to 1024 entries to accommodate incomplete Huffman codes. The new size estimate accounts for the number of first-level cells, the number of symbols, and the asymptotic amount of repeated second-level cells (the sum 1 + 3 + ... + 255 representing maximum repetition in sub-tables).

Attack Vector

Exploitation requires an attacker to supply a crafted JPEG file as input to an application that invokes JxlEncoderAddJPEGFrame for JPEG recompression. User interaction and processing of untrusted content are required. The resulting out-of-bounds access may disclose function pointers or other memory contents, weakening Address Space Layout Randomization (ASLR) and aiding follow-on memory corruption attacks.

c
// Security patch in lib/jpegli/huffman.h and lib/jxl/jpeg/enc_jpeg_huffman_decode.h
// Port the Huffman lookup table size fix from brunsli (#3871)

constexpr int kJpegHuffmanRootTableBits = 8;
// Maximum huffman lookup table size.
// - According to zlib/examples/enough.c, 758 entries are always enough for
// - an alphabet of 257 symbols (256 + 1 special symbol for the all 1s code) and
// - max bit length 16 if the root table has 8 bits.
// - constexpr int kJpegHuffmanLutSize = 758;
// + Requirements: alphabet of 257 symbols (256 + 1 special symbol for the all 1s
// + code) and max bit length 16, the root table has 8 bits.
// + zlib/examples/enough.c works with an assumption that Huffman code is
// + "complete". Input JPEGs might have this assumption broken, hence the
// + following sum is used as estimate:
// +  + number of 1-st level cells
// +  + number of symbols
// +  + asymptotic amount of repeated 2nd level cells
constexpr int kJpegHuffmanLutSize = 1024;

struct HuffmanTableEntry {
  uint8_t bits;    // number of bits used for this symbol
  // ...
};

Source: LibJXL GitHub Commit 9cc451b

Detection Methods for CVE-2024-11403

Indicators of Compromise

  • Crashes or abnormal terminations in processes linking against libjxl or jpegli when handling JPEG inputs
  • Memory access violations reported by tools such as AddressSanitizer (ASan) during JPEG XL encoding workflows
  • Unexpected output or corrupted data from JxlEncoderAddJPEGFrame operations on attacker-supplied images

Detection Strategies

  • Inventory all applications and container images that bundle LibJXL or jpegli and verify their commit or release version against the patched commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99
  • Use Software Composition Analysis (SCA) tooling to flag vulnerable LibJXL builds in dependency manifests
  • Run fuzz testing with corpora containing JPEGs that include incomplete Huffman codes against build pipelines that invoke JPEG XL recompression

Monitoring Recommendations

  • Monitor image processing services for repeated crashes correlated with specific input files
  • Log and retain JPEG inputs that trigger decoder errors for forensic review
  • Alert on unexpected child process termination or core dumps in containers performing image conversion

How to Mitigate CVE-2024-11403

Immediate Actions Required

  • Update LibJXL to a build that includes commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99 or later
  • Rebuild and redeploy any applications, libraries, and container images that statically link libjxl or jpegli
  • Restrict use of JxlEncoderAddJPEGFrame to trusted inputs until patched binaries are deployed across the environment

Patch Information

The upstream fix is available in the LibJXL repository at commit 9cc451b91b74ba470fd72bd48c121e9f33d24c99. The patch increases kJpegHuffmanLutSize from 758 to 1024 in both lib/jpegli/huffman.h and lib/jxl/jpeg/enc_jpeg_huffman_decode.h. Refer to the LibJXL Security Commit for full details.

Workarounds

  • Disable JPEG recompression features in applications that accept user-supplied images until patches are applied
  • Sandbox JPEG XL encoder processes using seccomp, AppArmor, or container isolation to limit blast radius of memory corruption
  • Validate JPEG inputs through a separate hardened decoder before passing them to JxlEncoderAddJPEGFrame
bash
# Verify libjxl version includes the fix
git -C /path/to/libjxl log --oneline | grep 9cc451b

# Rebuild with the patched source
cd /path/to/libjxl
git fetch origin
git checkout 9cc451b91b74ba470fd72bd48c121e9f33d24c99
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target jxl jpegli

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLibjxl

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/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
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-125
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-1837: libjxl Use-After-Free Vulnerability

  • CVE-2025-12474: libjxl Use After Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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