Skip to main content

libde265 CVE-2026-49337

| EUVDEUVD-2026-38078 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-19 GitHub_M
4.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Deliver crafted H.265 stream to target application
  2. Delivery
    Victim initiates HEVC decoding session
  3. Exploit
    Malformed non-first-slice NALs target finished picture object
  4. Install
    Slice headers appended to heap without active image unit
  5. C2
    Headers never freed during continuous streaming
  6. Execute
    Heap exhaustion triggers OOM-kill
  7. Impact
    Decoding service denied

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application invoke decoder_context::read_slice_NAL() on an attacker-supplied H.265 bitstream containing a sequence of non-first-slice NAL units directed at a picture object in a finished state (no active image unit). The CVSS PR:N confirms no authentication or privilege is required to supply the malicious bitstream. The CVSS UI:R metric reflects that a user or automated process must initiate decoding of the crafted content - passive network presence is insufficient. Impact severity scales with streaming duration: short, bounded decode sessions accumulate fewer orphaned headers and may not reach observable memory pressure, while continuous or long-lived streaming contexts are the realistic high-risk scenario. Exploitation is bounded to the libde265 decoding process (S:U); no lateral movement or privilege escalation primitive is present. Versions 1.0.20 and later are not affected.

Impact

The CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) accurately reflects a moderate-severity availability-only flaw. The UI:R metric is the principal risk-limiting factor in isolation, but for media servers, transcoding pipelines, and applications that automatically fetch and decode user-supplied streams, the 'user interaction' is effectively automated, collapsing the practical barrier. No EPSS score is present in the provided intelligence, so exploitation probability cannot be quantified numerically. The absence of a CISA KEV listing and the absence of any confirmed public POC together indicate no widespread opportunistic exploitation at time of analysis. The CWE-770 class (unbounded resource allocation) produces a gradual memory exhaustion rather than an immediate crash or code execution primitive, which may allow some defensive headroom (process memory limits, watchdog restart) but does not eliminate risk in resource-constrained or high-uptime services. Real-world priority should be elevated for deployments consuming untrusted H.265 input (media servers, video-on-demand platforms, browser plugin contexts) and lower for air-gapped or internally-sourced media workflows.

Exploit ScenarioDerived

An attacker crafts an H.265 video file containing a sustained sequence of non-first-slice NAL units targeting a finished picture object, then delivers it to a media server or streaming application via a user-controlled upload, a malicious media URL, or an auto-playing embed. Each malformed NAL unit causes a slice header to be allocated and appended to the picture's internal list without ever being freed, progressively exhausting available heap memory. Given sufficient streaming duration or repetition, the target process is terminated by the operating system's OOM killer, resulting in denial of service; no confirmed public POC exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Unbounded heap growth in libde265 prior to version 1.0.20 allows remote attackers to exhaust process memory by delivering a crafted H.265 bitstream, resulting in denial of service. The flaw in decoder_context::read_slice_NAL() (decctx.cc:481) unconditionally attaches slice segment headers to finished picture objects regardless of whether an active image unit exists; in continuous streaming contexts these headers are never freed, enabling attacker-controlled memory accumulation without bound. No active exploitation is confirmed (not listed in CISA KEV) and no public POC has been identified at time of analysis, but the network-accessible, no-privileges-required vector makes any application consuming untrusted H.265 content an exposure surface.

RemediationAI

Upgrade libde265 to version 1.0.20, which resolves the issue via commit 683cb9fa603e35840642f98765ab95cdb71cadf9; the advisory is available at https://github.com/strukturag/libde265/security/advisories/GHSA-g5hj-rf9f-7vxm. Downstream packagers should rebuild dependent packages against 1.0.20 and distribute updated binaries through their release channels. For deployments unable to upgrade immediately, restrict ingestion of H.265 streams to trusted, internally-sourced content only, blocking untrusted or user-supplied HEVC input at the application layer - this eliminates the attack surface at the cost of reduced functionality for external media. As a containment control, enforce per-process virtual memory limits via cgroups (e.g., memory.max) or OS-level ulimits on processes that decode H.265 content; this bounds heap exhaustion to a process restart rather than host-level resource starvation, though it may cause service interruption under a sustained attack. Time-bounded decode sessions (enforce a maximum stream duration or periodic process recycling) also limit cumulative header accumulation, with the trade-off of added operational complexity.

Affected VersionsENISA

libde265 < 1.0.20

Affected Packages

euvd libde265 fix: 1.0.20

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libde265 (CPE: cpe:2.3:a:strukturag:libde265:*:*:*:*:*:*:*:*) is an open-source software implementation of the H.265/HEVC video codec standard maintained by strukturag. The root cause maps to CWE-770 (Allocation of Resources Without Limits or Throttling): the function decoder_context::read_slice_NAL() parsed each incoming slice NAL unit and unconditionally called img->add_slice_segment_header(shdr), transferring ownership of the parsed slice header object to the current picture. When a crafted bitstream delivers non-first-slice NAL units while the picture is in a finished state (no active image unit), the headers are appended to img->slices but are never consumed by a decoding path, and are only freed when the picture object itself is released. In a continuous streaming scenario picture release may be indefinitely deferred, permitting the heap to grow without any upper bound. The fix in commit 683cb9fa (version 1.0.20) guards the add_slice_segment_header call inside a conditional that verifies an active image unit is present, and explicitly calls delete shdr in the else branch to immediately free headers that would otherwise be orphaned.

Know when Libde265 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
vuln.today AI 4.3 MEDIUM

Crafted H.265 stream delivered over network (AV:N, AC:L, PR:N) requires victim decode initiation (UI:R); impact is heap exhaustion only (A:L), no confidentiality or integrity consequence.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 19, 2026 - 23:17 EUVD

DescriptionCVE.org

libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted sequence of H.265 NAL units causes decoder_context::read_slice_NAL() (libde265/decctx.cc:481) to attach slice headers to a finished picture object that has no active image unit, resulting in attacker-controlled unbounded heap growth. The retained headers are never freed until the picture is released, which may not happen during continuous streaming. Version 1.0.20 patches the issue.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2022-1253 CRITICAL POC
9.8 Apr 06

Heap-based Buffer Overflow in GitHub repository strukturag/libde265 prior to and including 1.0.8. Rated critical severit

CVE-2023-49468 HIGH POC
8.8 Dec 07

Libde265 v1.0.14 was discovered to contain a global buffer overflow vulnerability in the read_coding_unit function at sl

CVE-2023-49467 HIGH POC
8.8 Dec 07

Libde265 v1.0.14 was discovered to contain a heap-buffer-overflow vulnerability in the derive_combined_bipredictive_merg

CVE-2023-49465 HIGH POC
8.8 Dec 07

Libde265 v1.0.14 was discovered to contain a heap-buffer-overflow vulnerability in the derive_spatial_luma_vector_predic

CVE-2023-27103 HIGH POC
8.8 Mar 15

Libde265 v1.0.11 was discovered to contain a heap buffer overflow via the function derive_collocated_motion_vectors at m

CVE-2023-43887 HIGH POC
8.1 Nov 22

Libde265 v1.0.12 was discovered to contain multiple buffer overflows via the num_tile_columns and num_tile_row parameter

CVE-2023-25221 HIGH POC
7.8 Mar 01

Libde265 v1.0.10 was discovered to contain a heap-buffer-overflow vulnerability in the derive_spatial_luma_vector_predic

CVE-2024-38950 MEDIUM POC
6.5 Jun 26

Heap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers to crash the application via crafted payload to

CVE-2023-27102 MEDIUM POC
6.5 Mar 15

Libde265 v1.0.11 was discovered to contain a segmentation violation via the function decoder_context::process_slice_segm

CVE-2023-24751 MEDIUM POC
6.5 Mar 01

libde265 v1.0.10 was discovered to contain a NULL pointer dereference in the mc_chroma function at motion.cc. Rated medi

CVE-2022-43253 MEDIUM POC
6.5 Nov 02

Libde265 v1.0.8 was discovered to contain a heap-buffer-overflow vulnerability via put_unweighted_pred_16_fallback in fa

CVE-2022-43252 MEDIUM POC
6.5 Nov 02

Libde265 v1.0.8 was discovered to contain a heap-buffer-overflow vulnerability via put_epel_16_fallback in fallback-moti

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy