A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-5197

CVE-2024-5197: Libvpx Buffer Overflow Vulnerability

CVE-2024-5197 is a buffer overflow vulnerability in Webmproject Libvpx caused by integer overflows in vpx_img_alloc() and vpx_img_wrap() functions. This post covers technical details, affected versions, and mitigation steps.

Updated: January 22, 2026

CVE-2024-5197 Overview

CVE-2024-5197 is an integer overflow vulnerability affecting libvpx, the popular open-source VP8 and VP9 video codec library maintained by the WebM Project. The vulnerability exists in versions prior to 1.14.1 and can be triggered through the vpx_img_alloc() and vpx_img_wrap() functions when large values are passed for the d_w, d_h, align, or stride_align parameters. This results in integer overflows during buffer size and offset calculations, potentially causing invalid data in the returned vpx_image_t struct.

Critical Impact

Applications processing untrusted media content through libvpx could be vulnerable to memory corruption attacks if attackers can control image dimension parameters passed to affected allocation functions.

Affected Products

  • webmproject libvpx (versions prior to 1.14.1)
  • debian debian_linux 10.0
  • Applications and libraries that depend on libvpx for VP8/VP9 video processing

Discovery Timeline

  • 2024-06-03 - CVE-2024-5197 published to NVD
  • 2025-07-22 - Last updated in NVD database

Technical Details for CVE-2024-5197

Vulnerability Analysis

This integer overflow vulnerability (CWE-190) affects the image allocation and wrapping functions within libvpx. When the vpx_img_alloc() function is called with excessively large values for the d_w (display width), d_h (display height), or align parameters, the internal arithmetic operations calculating buffer sizes and memory offsets can overflow. Similarly, vpx_img_wrap() is vulnerable when large values are provided for d_w, d_h, or stride_align parameters.

The integer overflow occurs because the library performs multiplication operations on these dimension and alignment values without adequate bounds checking. When the result of these calculations exceeds the maximum value that can be stored in the integer type being used, the value wraps around, resulting in a much smaller-than-expected buffer allocation. This creates a dangerous mismatch between the actual allocated buffer size and what the application believes was allocated.

Root Cause

The root cause lies in insufficient validation of input parameters before performing arithmetic operations in the vpx_img_alloc() and vpx_img_wrap() functions. The library multiplies width, height, and alignment values to calculate buffer sizes without first checking whether these operations would result in integer overflow. When overflow occurs, some fields of the returned vpx_image_t struct become invalid, potentially leading to subsequent buffer overflows when the application attempts to write image data to the undersized buffer.

Attack Vector

The attack vector is network-based, though exploitation requires specific conditions to be met. An attacker would need to craft malicious media content or API calls that cause the target application to invoke vpx_img_alloc() or vpx_img_wrap() with attacker-controlled dimension or alignment parameters. This could occur when:

  • Processing maliciously crafted video files with manipulated header values
  • Handling video streams from untrusted sources
  • Applications that expose libvpx configuration parameters through user-controlled inputs

The exploitation complexity is considered high, as successful exploitation depends on how the target application handles the corrupted vpx_image_t struct and whether subsequent operations use the invalid field values.

Detection Methods for CVE-2024-5197

Indicators of Compromise

  • Unusual crashes or segmentation faults in applications using libvpx during video processing
  • Memory access violations in video codec operations involving VP8/VP9 content
  • Abnormal allocation patterns or failed memory allocations in multimedia processing workflows
  • Application logs showing unexpected values in image dimension or buffer size fields

Detection Strategies

  • Monitor for abnormally large values passed to video processing functions in application-level instrumentation
  • Deploy memory sanitizers (AddressSanitizer, UndefinedBehaviorSanitizer) in development and testing environments to detect integer overflow conditions
  • Implement file integrity monitoring on libvpx shared library files to detect unauthorized modifications
  • Use static analysis tools to identify code paths that pass untrusted input to vpx_img_alloc() or vpx_img_wrap()

Monitoring Recommendations

  • Enable detailed logging for video processing applications to capture dimension and allocation parameters
  • Monitor system memory allocation patterns for anomalies during media processing operations
  • Track application crash reports and core dumps that reference libvpx functions
  • Implement runtime application self-protection (RASP) to detect exploitation attempts

How to Mitigate CVE-2024-5197

Immediate Actions Required

  • Upgrade libvpx to version 1.14.1 or later immediately on all affected systems
  • Audit applications that use libvpx to identify which systems require updates
  • Review and update container images and virtual machine templates that include vulnerable libvpx versions
  • For Debian 10 users, apply the security update referenced in the Debian LTS Announcement

Patch Information

The WebM Project has addressed this vulnerability in libvpx version 1.14.1. The fix adds proper bounds checking to prevent integer overflow conditions in the vpx_img_alloc() and vpx_img_wrap() functions. Organizations should update to this version or later to remediate the vulnerability.

Additional technical details about the fix can be found in the Chromium Issue Tracker Entry.

Workarounds

  • Implement input validation at the application layer to reject excessively large dimension values before they reach libvpx functions
  • Use compile-time hardening options such as integer overflow detection flags when building applications that use libvpx
  • Restrict processing of video content to trusted sources until patching is complete
  • Consider using application-level sandboxing to limit the impact of potential exploitation
bash
# Check installed libvpx version on Debian/Ubuntu systems
dpkg -l | grep libvpx

# Update libvpx on Debian-based systems
sudo apt update && sudo apt upgrade libvpx7

# Verify the installed version is 1.14.1 or later
pkg-config --modversion vpx

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLibvpx

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:L/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
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-190
  • Technical References
  • Chromium Issue Tracker Entry

  • Debian LTS Announcement
  • Related CVEs
  • CVE-2023-5217
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
  • English
  • 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