Description
libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.19, `decoder_context::decode_slice_unit_tiles` (libde265/decctx.cc:920) reads `pps.CtbAddrRStoTS[ctbAddrRS]` at line 966 where `ctbAddrRS = ctbY * ctbsWidth + ctbX` is computed from PPS-supplied `colBd[]`/`rowBd[]` arrays without validating the result against `CtbAddrRStoTS.size() == sps->PicSizeInCtbsY`. A malformed PPS that passes `set_derived_values` but encodes geometry inconsistent with the SPS produces a `ctbAddrRS` past the allocation, causing a 4-byte heap-buffer-overflow READ. Version 1.0.19 fixes 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, an open-source H.265 decoder, contains a heap‑buffer‑overflow read in the function decoder_context::decode_slice_unit_tiles. Prior to version 1.0.19 it calculates a tile index from picture parameter set geometry without validating that the index is within the bounds of the CtbAddrRStoTS array. A malformed PPS that passes validation but describes geometry inconsistent with the sps can produce an out‑of‑bounds index, resulting in a four‑byte memory read beyond the allocated buffer. This flaw may expose arbitrary memory contents to a decoder that processes a crafted H.265 bitstream. The weakness is identified as CWE‑125.

Affected Systems

Vendors affected are strukturag libde265 before version 1.0.19. Any installation using libde265 1.0.18 or older, and any application that links against that library, is potentially vulnerable.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity, while the EPSS score of less than 1 % suggests a low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the attack can be executed by delivering a specially crafted H.265 stream to any system that decodes video with the affected libde265. The exploit would read four bytes of memory, which could reveal confidential data or serve as a foothold for subsequent attacks if additional vulnerabilities are present. The risk remains moderate due to the modest CVSS score but low exploitation probability.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libde265 to version 1.0.19 or later
  • If an upgrade cannot be performed immediately, remove or restrict the processing of untrusted H.265 video streams from untrusted sources
  • Ensure that any application using the library is deployed in a sandboxed or isolated environment to limit the impact of a memory read

Generated by OpenCVE AI on July 30, 2026 at 16:21 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

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', '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. Prior to version 1.0.19, `decoder_context::decode_slice_unit_tiles` (libde265/decctx.cc:920) reads `pps.CtbAddrRStoTS[ctbAddrRS]` at line 966 where `ctbAddrRS = ctbY * ctbsWidth + ctbX` is computed from PPS-supplied `colBd[]`/`rowBd[]` arrays without validating the result against `CtbAddrRStoTS.size() == sps->PicSizeInCtbsY`. A malformed PPS that passes `set_derived_values` but encodes geometry inconsistent with the SPS produces a `ctbAddrRS` past the allocation, causing a 4-byte heap-buffer-overflow READ. Version 1.0.19 fixes the issue.
Title libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via unvalidated PPS tile geometry
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-23T14:10:50.623Z

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

Link: CVE-2026-45382

cve-icon Vulnrichment

Updated: 2026-07-23T14:10:36.660Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses