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

CVE-2025-12343: FFmpeg TensorFlow Backend DoS Vulnerability

CVE-2025-12343 is a denial-of-service flaw in FFmpeg's TensorFlow backend caused by a double-free condition in memory handling. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 20, 2026

CVE-2025-12343 Overview

A double-free vulnerability has been identified in FFmpeg's TensorFlow backend within the libavfilter/dnn_backend_tf.c source file. The flaw exists in the dnn_execute_model_tf() function, where a task object is freed multiple times in certain error-handling paths. This redundant memory deallocation can lead to a double-free condition, potentially causing FFmpeg or any application using it to crash when processing TensorFlow-based DNN models. This results in a denial-of-service scenario but does not allow arbitrary code execution under normal conditions.

Critical Impact

Applications utilizing FFmpeg with TensorFlow-based deep neural network (DNN) model processing may experience crashes or instability when encountering malformed inputs that trigger the vulnerable error-handling paths.

Affected Products

  • FFmpeg with TensorFlow DNN backend enabled
  • Applications and media processing pipelines utilizing FFmpeg's DNN filtering capabilities
  • Systems processing untrusted media through FFmpeg's TensorFlow integration

Discovery Timeline

  • 2026-02-18 - CVE-2025-12343 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2025-12343

Vulnerability Analysis

This vulnerability is classified as CWE-415 (Double Free), a memory corruption flaw that occurs when a program attempts to free the same memory location more than once. In the context of FFmpeg's TensorFlow backend, the issue manifests within the dnn_execute_model_tf() function during error handling.

When processing TensorFlow-based DNN models, if certain error conditions are encountered, the code path may inadvertently call free operations on the same task object multiple times. This can corrupt the memory allocator's internal data structures, leading to undefined behavior. In most cases, this results in application crashes, causing a denial-of-service condition for media processing applications.

The vulnerability requires local access and user interaction to exploit, as an attacker would need to convince a user to process a specially crafted input through FFmpeg's TensorFlow DNN backend. While the immediate impact is limited to availability (denial of service), double-free vulnerabilities in some contexts can potentially be leveraged for more severe attacks, though this particular instance does not appear to allow arbitrary code execution under normal conditions.

Root Cause

The root cause is improper memory management in the error-handling logic within libavfilter/dnn_backend_tf.c. Specifically, the dnn_execute_model_tf() function contains code paths where a task object's memory is deallocated multiple times when errors occur during TensorFlow model execution. This indicates missing or incorrect cleanup state tracking that would normally prevent redundant free operations.

Attack Vector

The attack vector requires local access to the system where FFmpeg is running. An attacker must craft a malicious input (such as a specially constructed media file or DNN model) that, when processed by FFmpeg's TensorFlow backend, triggers the error-handling paths containing the double-free condition. User interaction is required to initiate the processing of the malicious input.

The exploitation scenario involves:

  1. Attacker creates a malformed input designed to trigger specific error conditions
  2. User processes the input through FFmpeg with TensorFlow DNN filtering enabled
  3. The vulnerable error-handling code executes, causing the double-free
  4. FFmpeg crashes, denying service to the media processing pipeline

The vulnerability mechanism involves improper memory deallocation in error handling. When the dnn_execute_model_tf() function encounters certain error conditions, the cleanup code may execute multiple times on the same task object, leading to the double-free condition. For detailed technical information, see the Red Hat Bug Report #2406533.

Detection Methods for CVE-2025-12343

Indicators of Compromise

  • Unexpected FFmpeg crashes or segmentation faults during DNN model processing
  • Core dumps containing stack traces pointing to dnn_execute_model_tf() or related TensorFlow backend functions
  • Memory corruption errors in system logs when FFmpeg processes certain media files

Detection Strategies

  • Monitor for FFmpeg process crashes, particularly when TensorFlow DNN filtering is in use
  • Implement memory error detection tools (such as AddressSanitizer) during testing phases to identify double-free conditions
  • Review application logs for repeated failures during DNN model execution
  • Deploy runtime memory protection mechanisms that can detect and alert on double-free attempts

Monitoring Recommendations

  • Enable detailed logging for FFmpeg operations, particularly for DNN backend activities
  • Set up alerting for unexpected FFmpeg process terminations in production environments
  • Monitor system stability metrics for applications relying on FFmpeg's TensorFlow integration
  • Consider implementing crash reporting mechanisms to capture and analyze FFmpeg failures

How to Mitigate CVE-2025-12343

Immediate Actions Required

  • Review your FFmpeg deployment to determine if TensorFlow DNN backend functionality is enabled and in use
  • Limit processing of untrusted media files through FFmpeg's TensorFlow DNN filters where possible
  • Implement input validation and sandboxing for media processing pipelines
  • Monitor for vendor security patches addressing this vulnerability

Patch Information

At the time of publication, administrators should monitor the Red Hat CVE Advisory for patch availability and updates. The Red Hat Bug Report #2406533 provides additional technical details and tracking information for this vulnerability.

Workarounds

  • Disable TensorFlow DNN backend functionality in FFmpeg if not required for your use case
  • Process media files from trusted sources only when TensorFlow DNN filtering is necessary
  • Implement process isolation and sandboxing for FFmpeg operations to limit crash impact
  • Configure resource limits and automatic restart policies for FFmpeg processes to maintain availability
bash
# Configuration example
# Verify if FFmpeg is compiled with TensorFlow support
ffmpeg -buildconf 2>&1 | grep -i tensorflow

# If TensorFlow DNN backend is not needed, consider using FFmpeg builds without TensorFlow support
# Or explicitly avoid using DNN filters that require TensorFlow backend
# Example: Avoid filters like dnn_processing with tensorflow backend

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFfmpeg

  • SeverityLOW

  • CVSS Score3.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-415
  • Technical References
  • Red Hat CVE Advisory

  • Red Hat Bug Report #2406533
  • Related CVEs
  • CVE-2025-10256: FFmpeg Firequalizer Filter DoS Vulnerability

  • CVE-2021-38291: FFmpeg DOS Vulnerability

  • CVE-2025-69693: FFmpeg RV60 Decoder OOB Read Vulnerability

  • CVE-2024-7055: FFmpeg Buffer Overflow Vulnerability
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