Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2022-1253

CVE-2022-1253: Libde265 Buffer Overflow Vulnerability

CVE-2022-1253 is a heap-based buffer overflow vulnerability in Struktur Libde265 versions up to 1.0.8 that enables memory corruption attacks. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-1253 Overview

CVE-2022-1253 is a heap-based buffer overflow vulnerability affecting the libde265 library, an open-source HEVC (H.265) video codec implementation developed by struktur AG. This vulnerability exists in versions prior to and including 1.0.8 of the library. The flaw occurs due to improper validation of the cpb_cnt_minus1 parameter in the VUI (Video Usability Information) parsing code, which can lead to out-of-bounds memory access.

Critical Impact

This heap-based buffer overflow allows remote attackers to potentially execute arbitrary code or cause denial of service through specially crafted HEVC video files processed by applications using the vulnerable libde265 library.

Affected Products

  • struktur libde265 versions up to and including 1.0.8
  • Applications and media players utilizing libde265 for HEVC decoding
  • Linux distributions packaging vulnerable libde265 versions (including Debian)

Discovery Timeline

  • April 6, 2022 - CVE CVE-2022-1253 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-1253

Vulnerability Analysis

This vulnerability is classified as CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The flaw resides in the VUI parameter parsing functionality within libde265's HEVC decoder. When parsing HEVC video streams, the library processes Video Usability Information (VUI) parameters embedded in the Sequence Parameter Set (SPS). The vulnerability was identified through OSS-Fuzz testing (issue 27590), which discovered that malformed input could trigger out-of-bounds memory operations.

The attack can be initiated remotely through the network by providing a maliciously crafted HEVC video file to any application utilizing the vulnerable libde265 library. No authentication or user interaction is required to exploit this vulnerability, and successful exploitation can result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability lies in the insufficient validation of the cpb_cnt_minus1 parameter within the vui.cc file. The HEVC specification defines that this value should not exceed 31, but the vulnerable code did not enforce this boundary check. Additionally, the sps.cc file failed to properly handle error conditions returned from VUI parsing operations, allowing the vulnerability to propagate even when errors occurred.

Attack Vector

The attack vector for CVE-2022-1253 is network-based. An attacker can exploit this vulnerability by:

  1. Crafting a malicious HEVC video file with an out-of-range cpb_cnt_minus1 value (greater than 31)
  2. Delivering the malicious file to a victim through various means (web content, email attachments, file sharing)
  3. When the victim's application attempts to decode the video using libde265, the heap buffer overflow is triggered
  4. Depending on memory layout and exploitation techniques, this could lead to code execution or denial of service

The security patch addresses this by implementing proper boundary validation:

text
     if (!low_delay_hrd_flag[i])
     {
       READ_VLC_OFFSET(cpb_cnt_minus1[i], uvlc, 0);
+      if (cpb_cnt_minus1[i] > 31) {
+	return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE;
+      }
     }

     for (nalOrVcl = 0; nalOrVcl < 2; nalOrVcl++)

Source: GitHub Commit

Additionally, the fix ensures proper error propagation in the SPS parsing:

text
 
   vui_parameters_present_flag = get_bits(br,1);
   if (vui_parameters_present_flag) {
-    vui.read(errqueue, br, this);
+    de265_error err = vui.read(errqueue, br, this);
+    if (err) {
+      return err;
+    }
   }

 

Source: GitHub Commit

Detection Methods for CVE-2022-1253

Indicators of Compromise

  • Unexpected crashes or abnormal termination of applications using libde265 for HEVC decoding
  • Memory corruption errors or segmentation faults in media processing applications
  • Suspicious HEVC video files with malformed VUI parameters in the SPS NAL units
  • Unusual heap memory allocation patterns in applications handling video content

Detection Strategies

  • Implement file integrity monitoring for libde265 library files to detect unauthorized modifications
  • Deploy application-level monitoring to detect abnormal behavior during video processing operations
  • Use memory corruption detection tools (AddressSanitizer, Valgrind) in development and testing environments
  • Monitor for crash reports and core dumps from media processing applications that may indicate exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for media processing applications to capture decoding errors
  • Implement network traffic analysis to identify potential delivery of malicious HEVC files
  • Set up alerting for repeated crashes in applications utilizing libde265
  • Monitor system resource usage for anomalies during video file processing

How to Mitigate CVE-2022-1253

Immediate Actions Required

  • Update libde265 to a version containing commit 8e89fe0e175d2870c39486fdd09250b230ec10b8 or later
  • Review and update all applications that bundle or depend on libde265
  • Apply vendor patches from your Linux distribution (e.g., Debian DSA-5346)
  • Consider temporarily disabling HEVC video processing if immediate patching is not possible

Patch Information

The vulnerability has been addressed in commit 8e89fe0e175d2870c39486fdd09250b230ec10b8 in the libde265 repository. However, at the time of the CVE publication, this fix was not yet included in an official release. Users should verify their libde265 version and apply updates from their distribution vendors.

For Debian users, the Debian Security Advisory DSA-5346 provides patched packages. Additional details about the vulnerability and the fix can be found in the Huntr Bounty Notification and the GitHub Commit.

Workarounds

  • Restrict processing of untrusted HEVC video files until patching is completed
  • Implement input validation at the application level to reject suspicious video files before passing to libde265
  • Run applications using libde265 in sandboxed environments with limited privileges
  • Deploy network-level filtering to block delivery of potentially malicious video content
bash
# Check installed libde265 version on Debian/Ubuntu systems
dpkg -l | grep libde265

# Update libde265 on Debian/Ubuntu
sudo apt update && sudo apt upgrade libde265-0

# For source installations, verify the commit hash includes the security fix
cd /path/to/libde265
git log --oneline | grep 8e89fe0e175d2870c39486fdd09250b230ec10b8

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechStruktur Libde265

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.50%

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

  • CWE-787
  • Technical References
  • Debian Security Advisory DSA-5346
  • Vendor Resources
  • GitHub Commit Update

  • Huntr Bounty Notification
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | 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