CVE-2026-45382

NameCVE-2026-45382
Descriptionlibde265 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4789-1, DSA-6413-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libde265 (PTS)bookworm1.0.11-1+deb12u2vulnerable
bookworm (security)1.0.11-1+deb12u3fixed
trixie (security), trixie1.0.15-1+deb13u2fixed
forky1.1.2-1fixed
sid1.1.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libde265sourcebookworm1.0.11-1+deb12u3DLA-4789-1
libde265sourcetrixie1.0.15-1+deb13u1DSA-6413-1
libde265source(unstable)1.1.1-1

Notes

https://github.com/strukturag/libde265/security/advisories/GHSA-hwhx-x2mq-ccr9
https://github.com/strukturag/libde265/commit/c33b4f63ae9056b00f34a31874fed55cd0aa29c9 (v1.0.19)

Search for package or bug name: Reporting problems