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

CVE-2024-30809: Bento4 Use-After-Free Vulnerability

CVE-2024-30809 is a heap use-after-free vulnerability in Axiosys Bento4 v1.6.0-641 that causes denial of service through the AP4_Sample::GetOffset() function. This article covers technical details, affected versions, and mitigation.

Published: June 2, 2026

CVE-2024-30809 Overview

CVE-2024-30809 is a heap use-after-free vulnerability [CWE-416] in Axiosys Bento4 version v1.6.0-641-2-g1529b83. The flaw resides in Ap4Sample.h within the AP4_Sample::GetOffset() const method. An attacker can trigger the condition by supplying a crafted MP4 file to tools that link against the library, such as mp42ts. Successful exploitation results in a Denial of Service (DoS) condition when the affected process accesses freed heap memory. The vulnerability is network-reachable when Bento4 components process untrusted media files in pipelines, conversion services, or media servers.

Critical Impact

Remote attackers can crash applications built on Bento4 by delivering a malformed MP4 file, disrupting media processing workflows that rely on mp42ts or related utilities.

Affected Products

  • Axiosys Bento4 v1.6.0-641-2-g1529b83
  • Bento4 mp42ts conversion utility
  • Downstream applications and services that embed the affected Bento4 library version

Discovery Timeline

  • 2024-04-02 - CVE-2024-30809 published to the National Vulnerability Database (NVD)
  • 2025-05-27 - Last updated in NVD database

Technical Details for CVE-2024-30809

Vulnerability Analysis

The vulnerability is classified under [CWE-416] Use After Free. Bento4 parses MP4 containers and constructs AP4_Sample objects representing individual media samples. The AP4_Sample::GetOffset() accessor in Ap4Sample.h reads from an internal data structure that can be freed earlier in the parsing sequence. When mp42ts or similar utilities subsequently invoke GetOffset() on the dangling reference, the process accesses freed heap memory. The result is a deterministic crash that terminates the media processing operation.

Root Cause

The root cause is improper lifetime management of heap-allocated sample data inside AP4_Sample. The object retains references to memory that has been released along an earlier code path. The const accessor GetOffset() performs no validity check on its backing storage before dereferencing it. Crafted MP4 atom sequences reach the freed state and then exercise the accessor.

Attack Vector

The attack vector is network-accessible processing of untrusted MP4 input. An attacker delivers a malformed MP4 file to any service or workflow that invokes Bento4 utilities. Examples include media transcoding APIs, content ingestion pipelines, and streaming preparation tools. Exploitation requires no authentication and no user interaction beyond submitting the file. The impact is limited to availability — the process aborts but confidentiality and integrity are not affected.

// No verified proof-of-concept code is published. See GitHub Issue #937
// for the reproducer description and crash trace.

Detection Methods for CVE-2024-30809

Indicators of Compromise

  • Unexpected termination or SIGSEGV crashes of mp42ts or other Bento4-linked binaries when processing MP4 files
  • Heap corruption traces in core dumps referencing AP4_Sample::GetOffset in Ap4Sample.h
  • Repeated submission of malformed MP4 files to media ingestion endpoints from a single source

Detection Strategies

  • Monitor process exit codes and crash counts for media processing workers that depend on Bento4
  • Enable AddressSanitizer (ASan) builds in test environments to surface use-after-free conditions during MP4 parsing
  • Inspect MP4 inputs for malformed stbl, stsz, or stco atoms that misalign sample offsets

Monitoring Recommendations

  • Alert on abnormal crash rates in media transcoding services and correlate with originating file hashes
  • Capture and quarantine MP4 files that trigger Bento4 crashes for offline analysis
  • Track Bento4 binary versions across build pipelines to confirm patched releases are deployed

How to Mitigate CVE-2024-30809

Immediate Actions Required

  • Inventory all systems and container images that ship mp42ts or link against Bento4 v1.6.0-641-2-g1529b83
  • Restrict Bento4-based media processing to sandboxed workers with restart-on-crash supervision
  • Validate uploaded MP4 files against expected size, atom structure, and source before invoking Bento4

Patch Information

No vendor security advisory or fixed release is referenced in the NVD record. Track upstream activity through GitHub Issue #937 and the CVE-2024-30809 information repository. Until an official fix lands, build Bento4 from a newer commit on the master branch and verify the crash no longer reproduces with the published test case.

Workarounds

  • Run Bento4 utilities under process isolation with strict CPU, memory, and time limits to contain DoS impact
  • Reject MP4 uploads that fail structural validation in an upstream parser before reaching Bento4
  • Replace mp42ts with an alternative MPEG-TS muxer for untrusted input where feasible
bash
# Example: run mp42ts in a constrained sandbox with timeout and resource limits
timeout 30s \
  systemd-run --scope -p MemoryMax=512M -p CPUQuota=50% \
  mp42ts /input/untrusted.mp4 /output/stream.ts

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/TechAxiosys Bento4

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • GitHub Issue #937

  • GitHub CVE-2024-30809 Information
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
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