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

CVE-2026-9572: Gpac MP4Box Information Disclosure Flaw

CVE-2026-9572 is an information disclosure vulnerability in Gpac MP4Box caused by a memory leak in the Media_GetSample function. This article covers the technical details, affected versions, impact, and mitigation steps.

Published: May 28, 2026

CVE-2026-9572 Overview

CVE-2026-9572 is a memory leak vulnerability [CWE-401] in GPAC up to version 2.4.0. The flaw resides in the Media_GetSample function within src/isomedia/media.c, a component of the MP4Box utility. Manipulation of the cat argument triggers improper memory release, leading to a memory leak condition. The attack requires local access and authenticated low-privilege execution. A public exploit has been disclosed, and upstream maintainers have committed patch e79c5cbe8b3fed27f4854ec229457d30c96206f1 to address the issue.

Critical Impact

Local attackers with low privileges can trigger memory exhaustion in GPAC's MP4Box utility by supplying crafted input to the Media_GetSample function, degrading availability over time.

Affected Products

  • GPAC up to and including version 2.4.0
  • MP4Box component within GPAC distributions
  • Applications and pipelines embedding the GPAC isomedia library

Discovery Timeline

  • 2026-05-26 - CVE-2026-9572 published to NVD
  • 2026-05-28 - Last updated in NVD database

Technical Details for CVE-2026-9572

Vulnerability Analysis

The vulnerability lives in Media_GetSample inside src/isomedia/media.c, which is responsible for retrieving media samples from MP4 container structures. When processing a crafted input through the cat argument path, the function allocates memory without releasing it under specific control-flow conditions. The underlying issue is a malloc(0) boundary case where data_size + padding_bytes evaluates to zero, producing undefined behavior in the allocator and orphaning previously held resources.

The issue is classified under [CWE-401] (Missing Release of Memory after Effective Lifetime). Repeated invocation of the vulnerable code path causes incremental memory growth in the calling process. While the immediate confidentiality and integrity impact is none, sustained exploitation results in availability degradation of the MP4Box process or any long-running service that links against libgpac.

Root Cause

The patch introduces an explicit check on the computed allocation size before invoking gf_malloc, gf_realloc, or the registered sample_alloc_cbk. Prior to the fix, the code path proceeded with allocation requests of size zero, which the C standard treats as implementation-defined behavior. This led to inconsistent state tracking between (*samp)->data and (*samp)->alloc_size, resulting in leaked allocations and undefined behavior in the fuzzed code path identified in GitHub Issue #3557.

Attack Vector

Exploitation requires local access to a system running a vulnerable GPAC build. An attacker supplies a malformed MP4 file or crafted concatenation input through the cat argument of MP4Box. No user interaction is needed beyond invoking the tool against attacker-supplied input. The attack does not yield code execution; it produces resource exhaustion that can disrupt media processing workflows, batch transcoding services, or fuzzing harnesses linking the library.

c
// Patch excerpt from src/isomedia/media.c - prevents UB malloc(0)
		if (! (*samp)->data)
			(*samp)->alloc_size = 0;

		size_t size_to_alloc = data_size + mdia->mediaTrack->padding_bytes;
		if (!size_to_alloc)
			return GF_IO_ERR;

		/*and finally get the data, include padding if needed*/
		if (ext_realloc) {
			(*samp)->data = mdia->mediaTrack->sample_alloc_cbk(size_to_alloc, mdia->mediaTrack->sample_alloc_udta);
		} else if ((*samp)->alloc_size) {
			(*samp)->data = (char *) gf_realloc((*samp)->data, size_to_alloc );
			if ((*samp)->data) (*samp)->alloc_size = data_size + mdia->mediaTrack->padding_bytes;
		} else {
			(*samp)->data = (u8 *) gf_malloc(size_to_alloc);
		}
		if (! (*samp)->data) return GF_OUT_OF_MEM;

Source: GitHub Commit e79c5cb. The fix introduces size_to_alloc and returns GF_IO_ERR when the computed size is zero, eliminating the leak path.

Detection Methods for CVE-2026-9572

Indicators of Compromise

  • Sustained memory growth in MP4Box processes or services linking libgpac when handling untrusted MP4 inputs.
  • Process termination by the OOM killer on hosts performing automated media processing.
  • Presence of GPAC binaries reporting version 2.4.0 or earlier on systems exposed to user-supplied media files.

Detection Strategies

  • Inventory installed GPAC versions across endpoints and build servers, comparing against the patched commit e79c5cbe8b3fed27f4854ec229457d30c96206f1.
  • Run AddressSanitizer or LeakSanitizer builds of GPAC against suspect inputs to confirm leak signatures in Media_GetSample.
  • Monitor invocations of MP4Box with the -cat argument in shell history and process audit logs.

Monitoring Recommendations

  • Establish baseline resident set size (RSS) metrics for media processing workers and alert on anomalous linear growth.
  • Enable process accounting (auditd on Linux) to capture command-line arguments passed to MP4Box.
  • Correlate file upload events with subsequent GPAC invocations in centralized logging.

How to Mitigate CVE-2026-9572

Immediate Actions Required

  • Apply commit e79c5cbe8b3fed27f4854ec229457d30c96206f1 from the upstream GPAC repository, or upgrade to a release containing the fix.
  • Restrict MP4Box execution to trusted local users and remove the SUID bit if present.
  • Run media processing workloads under resource-limited containers or systemd units with MemoryMax enforced.

Patch Information

The fix is published as commit e79c5cbe8b3fed27f4854ec229457d30c96206f1 in the GPAC GitHub repository. The patch is referenced in GitHub Issue #3557 and tracked as VulDB Vulnerability #365631. Rebuild downstream packages and container images after pulling the patched source.

Workarounds

  • Avoid processing untrusted MP4 inputs with the cat operation until the patch is deployed.
  • Wrap MP4Box invocations with ulimit -v or cgroup memory limits to bound the impact of a leak.
  • Validate input files with a stricter parser before passing them to GPAC in automated pipelines.
bash
# Build patched GPAC from source
git clone https://github.com/gpac/gpac.git
cd gpac
git checkout e79c5cbe8b3fed27f4854ec229457d30c96206f1
./configure
make -j$(nproc)
sudo make install

# Verify the installed version
MP4Box -version

# Optional: constrain runtime memory for media workers
systemd-run --scope -p MemoryMax=512M MP4Box -cat input.mp4 -out output.mp4

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGpac

  • SeverityLOW

  • CVSS Score1.9

  • 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-401
  • Technical References
  • GitHub GPAC Repository

  • GitHub Issue #3557

  • GitHub PoC Attachment

  • VulDB Submission #817137

  • VulDB Vulnerability #365631

  • VulDB CTI for #365631
  • Vendor Resources
  • GitHub Commit e79c5cb
  • Related CVEs
  • CVE-2025-70116: GPAC MP4Box DoS Vulnerability

  • CVE-2026-9567: GPAC MP4Box Use-After-Free Vulnerability

  • CVE-2026-8124: Gpac Gpac DOS Vulnerability

  • CVE-2026-39103: GPAC Buffer Overflow DoS 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