The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2025-12474

CVE-2025-12474: libjxl Use After Free Vulnerability

CVE-2025-12474 is a use after free vulnerability in libjxl's decoder that allows reading pixel data from uninitialized memory. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 13, 2026

CVE-2025-12474 Overview

CVE-2025-12474 is an Uninitialized Memory Use vulnerability affecting the libjxl JPEG XL image library's decoder component. A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory. This occurs when the decoder is manipulated to reference an outside-image-bound area in subsequent patches, where an incorrect optimization causes the decoder to omit populating those areas.

Critical Impact

Attackers can craft malicious JPEG XL files that cause the decoder to read from uninitialized memory regions, potentially leading to information disclosure or unpredictable application behavior.

Affected Products

  • libjxl JPEG XL image library (versions prior to the fix in PR #4495)

Discovery Timeline

  • 2026-02-11 - CVE CVE-2025-12474 published to NVD
  • 2026-02-11 - Last updated in NVD database

Technical Details for CVE-2025-12474

Vulnerability Analysis

This vulnerability falls under CWE-908 (Use of Uninitialized Resource). The libjxl decoder contains a flaw in its image patch processing logic that can be exploited through specially-crafted JPEG XL files. When the decoder processes certain image patches that reference areas outside the valid image bounds, an incorrect optimization in the code path causes these memory regions to remain uninitialized rather than being properly populated with valid pixel data.

The vulnerability requires network access and user interaction (opening a malicious file), combined with high attack complexity to successfully exploit. The potential impact is limited to low-severity confidentiality and integrity concerns, with no availability impact identified.

Root Cause

The root cause stems from an incorrect optimization in the libjxl decoder's patch processing routine. When processing JPEG XL images with patches that reference outside-image-bound areas, the decoder fails to properly initialize the memory allocated for these regions. The optimization incorrectly assumes all referenced areas will be within valid bounds, causing it to skip the memory initialization step for out-of-bounds references.

Attack Vector

The attack vector is network-based, requiring an attacker to deliver a malicious JPEG XL file to a victim. Exploitation requires:

  1. Crafting a specially-designed JPEG XL file with patches referencing outside-image-bound areas
  2. Convincing a user to open the malicious file with an application using the vulnerable libjxl library
  3. The decoder processes the file and reads from uninitialized memory regions

The vulnerability mechanism exploits the decoder's patch processing logic. When a JPEG XL file contains patches that reference areas beyond the image boundaries, the affected optimization causes the decoder to skip memory initialization for these regions, resulting in reads from uninitialized but allocated memory. For detailed technical information, refer to the GitHub Pull Request #4495.

Detection Methods for CVE-2025-12474

Indicators of Compromise

  • Unexpected behavior or crashes in applications processing JPEG XL files using libjxl
  • Memory analysis tools detecting reads from uninitialized memory regions during JPEG XL decoding
  • Anomalous JPEG XL files with patches referencing outside-image-bound coordinates

Detection Strategies

  • Deploy memory sanitizers (AddressSanitizer, MemorySanitizer) in development and testing environments to detect uninitialized memory access
  • Monitor application logs for unexpected decoder errors or warnings when processing JPEG XL files
  • Implement file validation checks before processing JPEG XL images from untrusted sources

Monitoring Recommendations

  • Enable verbose logging for applications using libjxl to capture decoder anomalies
  • Monitor for unusual memory access patterns in processes handling JPEG XL files
  • Implement runtime memory monitoring for applications processing image files from external sources

How to Mitigate CVE-2025-12474

Immediate Actions Required

  • Update libjxl to the patched version that addresses this vulnerability
  • Review applications using libjxl and assess exposure to untrusted JPEG XL files
  • Consider temporarily disabling JPEG XL support in high-risk environments until patching is complete

Patch Information

The vulnerability has been addressed in the libjxl project. The fix is available in GitHub Pull Request #4495. Organizations should update to the latest version of libjxl that incorporates this fix.

Workarounds

  • Validate JPEG XL files from untrusted sources before processing with additional security scanning
  • Implement sandboxing for applications that process untrusted JPEG XL files to limit potential impact
  • Consider using alternative image formats where JPEG XL support is not critical until patching is completed

To update libjxl to the patched version, follow the standard build process after pulling the latest changes that include the fix from PR #4495. Consult the libjxl project documentation for specific build instructions for your platform.

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLibjxl

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-908
  • Technical References
  • GitHub Pull Request
  • Related CVEs
  • CVE-2026-1837: libjxl Use-After-Free 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