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-2023-47470

CVE-2023-47470: FFmpeg Buffer Overflow RCE Vulnerability

CVE-2023-47470 is a buffer overflow vulnerability in FFmpeg that enables remote code execution and denial of service. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: February 11, 2026

CVE-2023-47470 Overview

CVE-2023-47470 is a buffer overflow vulnerability in FFmpeg's EVC (Essential Video Coding) parser that allows remote attackers to achieve an out-of-array write, execute arbitrary code, and cause a denial of service (DoS). The vulnerability exists in the ref_pic_list_struct function within libavcodec/evc_ps.c, where insufficient validation of the ref_pic_num parameter against the sps_max_dec_pic_buffering_minus1 boundary enables memory corruption when processing maliciously crafted media files.

Critical Impact

Successful exploitation allows attackers to execute arbitrary code or crash FFmpeg-based applications by supplying specially crafted EVC video content, potentially compromising systems that process untrusted media files.

Affected Products

  • FFmpeg versions prior to commit 4565747056a11356210ed8edcecb920105e40b60
  • FFmpeg 6.1 and earlier versions
  • Applications and services utilizing vulnerable FFmpeg libraries for media processing

Discovery Timeline

  • 2023-11-16 - CVE-2023-47470 published to NVD
  • 2025-08-11 - Last updated in NVD database

Technical Details for CVE-2023-47470

Vulnerability Analysis

This vulnerability stems from a classic out-of-bounds write condition (CWE-787) in FFmpeg's EVC video codec parser. The ref_pic_list_struct function is responsible for parsing reference picture list structures according to ISO/IEC 23094-1 specification. The function reads the ref_pic_num value from the bitstream using get_ue_golomb_long(gb) without validating whether this value exceeds the maximum allowed buffer size defined by sps_max_dec_pic_buffering_minus1.

When an attacker provides a crafted EVC stream with an excessively large ref_pic_num value, subsequent operations that iterate based on this count will access memory beyond the allocated array boundaries. This leads to memory corruption that can be leveraged for arbitrary code execution or trigger application crashes resulting in denial of service.

The local attack vector requires user interaction—victims must open or process a malicious media file—making this vulnerability particularly dangerous in scenarios where FFmpeg processes untrusted content from external sources, such as media converters, video players, or web applications with media processing capabilities.

Root Cause

The root cause is missing boundary validation in the reference picture list parsing logic. The ref_pic_num value read from the input bitstream was directly used without checking whether it exceeds the maximum decoder picture buffering capacity (sps_max_dec_pic_buffering_minus1) specified in the Sequence Parameter Set (SPS). This oversight allows attackers to control an index or count value used in subsequent array operations, leading to out-of-bounds memory access.

Attack Vector

An attacker can exploit this vulnerability by crafting a malicious EVC video file with a specially constructed reference picture list structure containing an oversized ref_pic_num value. When a victim opens this file with any application using vulnerable FFmpeg libraries, the parser processes the malformed data, triggering the buffer overflow. The attack requires local access to deliver the malicious file and user interaction to process it, but no privileges are required beyond standard user permissions.

c
// Security patch in libavcodec/evc_ps.c - avcodec/evc_ps: Check ref_pic_num and sps_max_dec_pic_buffering_minus1
 #define EXTENDED_SAR 255
 
 // @see ISO_IEC_23094-1 (7.3.7 Reference picture list structure syntax)
-static int ref_pic_list_struct(GetBitContext *gb, RefPicListStruct *rpl)
+static int ref_pic_list_struct(EVCParserSPS *sps, GetBitContext *gb, RefPicListStruct *rpl)
 {
     uint32_t delta_poc_st, strp_entry_sign_flag = 0;
     rpl->ref_pic_num = get_ue_golomb_long(gb);
+
+    if ((unsigned)rpl->ref_pic_num  > sps->sps_max_dec_pic_buffering_minus1)
+        return AVERROR_INVALIDDATA;
+
     if (rpl->ref_pic_num > 0) {
         delta_poc_st = get_ue_golomb_long(gb);
 

Source: GitHub FFmpeg Commit

Detection Methods for CVE-2023-47470

Indicators of Compromise

  • Unexpected crashes or segmentation faults in FFmpeg or applications using FFmpeg libraries when processing EVC video files
  • Anomalous memory allocation patterns or memory access violations in libavcodec components
  • Suspicious EVC/H.266 video files with malformed reference picture list structures in the bitstream
  • Core dumps indicating crashes within the ref_pic_list_struct function or related EVC parsing code

Detection Strategies

  • Deploy application crash monitoring to detect abnormal termination patterns in media processing services
  • Implement file integrity monitoring for FFmpeg library versions and compare against known vulnerable versions
  • Use static analysis tools to scan codebases for vulnerable FFmpeg library dependencies
  • Monitor process behavior for unexpected memory access patterns during media file processing

Monitoring Recommendations

  • Enable detailed logging for media processing pipelines to capture parsing errors and exceptions
  • Configure crash reporting systems to alert on FFmpeg-related failures with stack traces pointing to EVC codec modules
  • Implement software composition analysis (SCA) to track FFmpeg versions across the environment
  • Set up alerts for unusual CPU or memory consumption during video processing operations

How to Mitigate CVE-2023-47470

Immediate Actions Required

  • Update FFmpeg to a version that includes commit 4565747056a11356210ed8edcecb920105e40b60 or later
  • Audit all applications and services using FFmpeg libraries and prioritize updates for those processing untrusted media content
  • Implement input validation at the application layer to reject suspicious or malformed video files before FFmpeg processing
  • Consider temporarily disabling EVC codec support if updates cannot be immediately applied

Patch Information

The vulnerability was addressed in FFmpeg commit 4565747056a11356210ed8edcecb920105e40b60. The fix adds proper boundary checking by passing the SPS structure to the ref_pic_list_struct function and validating that ref_pic_num does not exceed sps_max_dec_pic_buffering_minus1. Organizations should update to FFmpeg versions released after this commit or apply the patch to their current installations.

For detailed patch information, see the FFmpeg Patch Submission and the official commit.

Workarounds

  • Restrict FFmpeg usage to trusted media sources only until patches can be applied
  • Deploy sandboxing or containerization for media processing workloads to limit the impact of potential exploitation
  • Implement network segmentation to isolate media processing systems from critical infrastructure
  • Use application allowlisting to control which processes can execute FFmpeg binaries
bash
# Check current FFmpeg version and commit
ffmpeg -version | head -5

# Verify if your FFmpeg installation includes the security fix
# Look for commits after 4565747056a11356210ed8edcecb920105e40b60
git log --oneline --grep="ref_pic_num" -- libavcodec/evc_ps.c

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFfmpeg

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability1.36%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • FFmpeg Patch Submission
  • Vendor Resources
  • GitHub FFmpeg Commit

  • GitHub Report Repository
  • Related CVEs
  • CVE-2024-22862: FFmpeg Integer Overflow RCE Vulnerability

  • CVE-2024-22860: FFmpeg Integer Overflow RCE Vulnerability

  • CVE-2021-30123: FFmpeg Buffer Overflow RCE Vulnerability

  • CVE-2025-69693: FFmpeg RV60 Decoder OOB Read 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