Skip to content
OpenAdvisories
High ALAS2023-2026-1974 4 CVEs

Important: libde265 security update (Amazon Linux 2023)

Published Jul 20, 2026 · Updated Jul 20, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-54241: SAO sequential filter heap buffer overflow via signed integer overflow CVE-2026-54240: Pixel accessor signed integer overflow causes heap OOB read/write CVE-2026-45383: 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. CVE-2026-45382: 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.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2023 libde265 0:1.0.18-1.amzn2023.0.3
Amazon Linux · 2023 libde265-debuginfo 0:1.0.18-1.amzn2023.0.3
Amazon Linux · 2023 libde265-debugsource 0:1.0.18-1.amzn2023.0.3
Amazon Linux · 2023 libde265-devel 0:1.0.18-1.amzn2023.0.3

Vulnerabilities 4

  • High 7.4

    libde265: Pixel accessor signed integer overflow causes heap OOB read/write

    libde265 is an open source implementation of the h.265 video codec. Versions prior to 1.1.1 use signed 32-bit arithmetic to calculate pixel offsets, allowing a crafted HEVC stream with large image dimensions to trigger an integer overflow and cause out-of-bou…

  • High 7.4

    libde265: SAO sequential filter heap buffer overflow via signed integer overflow

    libde265 is an open source implementation of the h.265 video codec. Versions prior to 1.1.1 use signed 32-bit arithmetic to calculate the sample adaptive offset input-buffer size, allowing a crafted HEVC stream with large dimensions and 16-bit luma samples to…

  • Medium 6.9

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

    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 co…

  • Medium 6.9

    libde265 has a heap buffer overflow (OOB read) in decode_slice_unit_WPP() via out-of-bounds CtbAddrRStoTS access — libde265 <= v1.0.18

    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…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-45382.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-45383.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-54240.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-54241.html