Description
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.
Published: 2026-06-19
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in libde265, an open‑source implementation of the HEVC (H.265) video codec. A crafted sequence of H.265 NAL units causes the decoder function decoder_context::read_slice_NAL() to attach slice headers to a picture object that is missing an active image unit. These orphaned headers are never freed until the picture is released, which may never happen during continuous streaming. The result is an attacker‑controlled unbounded heap growth that can exhaust system memory and lead to denial of service.

Affected Systems

The affected product is libde265 from strukturag. All releases prior to version 1.0.20 are vulnerable, including both source and binary distributions. Version 1.0.20 and later contain a patch that corrects the memory allocation logic and prevents orphaned slice header retention.

Risk and Exploitability

The CVSS score of 4.3 indicates low‑to‑moderate severity. Because EPSS is not available and the vulnerability is not listed in the CISA KEV catalog, the likelihood of widespread exploitation appears limited at present. An attacker must be able to deliver a malicious H.265 stream to the decoder, which could occur through a misconfigured media ingestion pipeline, a video processing service, or an embedded device that accepts external video input. Once the malicious stream is fed into the decoder, the uncontrolled memory allocation will continue until system resources are exhausted, resulting in service interruption. No code execution is possible; the impact is limited to memory exhaustion and DoS.

Generated by OpenCVE AI on June 19, 2026 at 21:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libde265 to version 1.0.20 or later to apply the memory‑leak fix.
  • If an upgrade is not immediately possible, isolate the decoder process in a container or dedicated VM and enforce strict memory limits (for example, by using cgroups or ulimit) so that a runaway allocation cannot exhaust the host.
  • Continuously monitor memory usage of any process that uses libde265, and configure alerts to restart or terminate the decoder when usage approaches the limit, mitigating the impact of a potential exploit.

Generated by OpenCVE AI on June 19, 2026 at 21:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 19 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title libde265 has an unbounded memory leak via orphaned slice headers in `read_slice_NAL`
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-19T20:10:36.194Z

Reserved: 2026-05-29T14:35:45.902Z

Link: CVE-2026-49337

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-19T21:30:17Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling