Description
libde265 is an open source implementation of the h.265 video codec. Versions prior to 1.0.19 have a heap buffer overflow (out-of-bounds READ) exists in `decoder_context::decode_slice_unit_WPP()` in `libde265/decctx.cc`. When decoding a WPP (Wavefront Parallel Processing) HEVC slice, `ctbAddrRS` is computed as `ctbRow * ctbsWidth` inside the entry-point loop. If the PPS/SPS headers are crafted so that this value exceeds `pps.CtbAddrRStoTS.size()`, the subsequent array access `pps.CtbAddrRStoTS[ctbAddrRS]` reads past the end of the allocated vector, triggering a heap-buffer-overflow confirmed by AddressSanitizer. Version 1.0.19 patches the issue.
Published: 2026-07-21
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

libde265 is an open‑source implementation of the H.265 video codec. In versions prior to 1.0.19, the decoder_context::decode_slice_unit_WPP() routine in libde265/decctx.cc contains a heap buffer overflow (an out‑of‑bounds read). When a WPP (Wavefront Parallel Processing) HEVC slice is decoded, the ctbAddrRS value is calculated as ctbRow multiplied by ctbsWidth in the entry‑point loop. If the PPS/SPS headers are crafted so that this value exceeds the size of the pps.CtbAddrRStoTS vector, the array access reads past the end of the vector, causing a heap‑buffer‑overflow. The flaw was confirmed by AddressSanitizer and can expose arbitrary data from the process memory. Version 1.0.19 patches the issue.

Affected Systems

Affected product is the libde265 library released by strukturag. Versions 1.0.18 and earlier are vulnerable; the fix is available in version 1.0.19. The library is commonly embedded in media processing applications, including video players, broadcasters, and streaming services that support HEVC decoding.

Risk and Exploitability

The CVSS base score is 6.9, and the EPSS score is below 1 %, indicating a low likelihood of widespread exploitation at present. The vulnerability was not listed in CISA’s KEV catalog, suggesting no known large‑scale attacks. Exploitation requires an attacker to supply a specially crafted HEVC file containing malicious PPS/SPS values, which is practical for adversaries that can send media to a vulnerable decoder. Because the flaw is a read‑only error, it does not provide remote code execution, but it does expose memory contents that could compromise confidentiality of the host process.

Generated by OpenCVE AI on July 30, 2026 at 16:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libde265 to a patched release (v1.0.19 or newer).
  • If upgrade is not immediately possible, disable the use of Wavefront Parallel Processing in the decoder or bypass WPP slices until the library can be updated.
  • Validate that any HEVC streams supplied to the decoder contain PPS/SPS header values that do not exceed the bounds of the CtbAddrRStoTS array before invoking the decode_slice_unit_WPP() routine.

Generated by OpenCVE AI on July 30, 2026 at 16:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6413-1 libde265 security update
Ubuntu USN Ubuntu USN USN-8573-1 libde265 vulnerabilities
History

Mon, 27 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Struktur
Struktur libde265
Vendors & Products Struktur
Struktur libde265

Wed, 22 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 21:15:00 +0000

Type Values Removed Values Added
Description libde265 is an open source implementation of the h.265 video codec. Versions prior to 1.0.19 have a heap buffer overflow (out-of-bounds READ) exists in `decoder_context::decode_slice_unit_WPP()` in `libde265/decctx.cc`. When decoding a WPP (Wavefront Parallel Processing) HEVC slice, `ctbAddrRS` is computed as `ctbRow * ctbsWidth` inside the entry-point loop. If the PPS/SPS headers are crafted so that this value exceeds `pps.CtbAddrRStoTS.size()`, the subsequent array access `pps.CtbAddrRStoTS[ctbAddrRS]` reads past the end of the allocated vector, triggering a heap-buffer-overflow confirmed by AddressSanitizer. Version 1.0.19 patches the issue.
Title libde265 has a heap buffer overflow (OOB read) in decode_slice_unit_WPP() via out-of-bounds CtbAddrRStoTS access — libde265 <= v1.0.18
Weaknesses CWE-125
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Struktur Libde265
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T15:36:32.304Z

Reserved: 2026-05-12T00:51:29.087Z

Link: CVE-2026-45383

cve-icon Vulnrichment

Updated: 2026-07-22T15:36:27.060Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:30:05Z

Weaknesses