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

Medium 6.9 Published Updated

A heap-buffer-overflow in libde265 allows attackers to cause denial of service or disclose memory via malformed video files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45382?

CVE-2026-45382 is a medium-severity memory corruption vulnerability in strukturag libde265, published on 21 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-125

Which versions are affected by CVE-2026-45382?

How do I fix CVE-2026-45382?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-45382 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45382 exists.

Sources

Also known as ALPINE-CVE-2026-45382, BELL-CVE-2026-45382, DEBIAN-CVE-2026-45382, ECHO-6d7b-247d-24f3, GHSA-hwhx-x2mq-ccr9, ROOT-OS-DEBIAN-11-CVE-2026-45382 and 1 more.

Is CVE-2026-45382 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free