CVE-2026-45382

libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via unvalidated PPS tile geometry

Published Jul 21, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 DLA Debian DLA DLA-4789-1 libde265 security update
Debian DSA Debian DSA DSA-6413-1 libde265 security update
Ubuntu USN Ubuntu USN USN-8573-1 libde265 vulnerabilities
History
Type Values Removed Values Added
First Time appeared Struktur
Struktur libde265
Vendors & Products Struktur
Struktur libde265
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 23, 2026, 2:10 PM
Reserved
May 12, 2026, 12:51 AM
Status
Deferred
Published
Jul 21, 2026, 9:16 PM
Modified
Oct 24, 2026, 7:10 PM