Skip to content
OpenAdvisories
High ALAS2023-2026-1918 3 CVEs

Important: libde265 security update (Amazon Linux 2023)

Published Jul 6, 2026 · Updated Jul 7, 2026

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-49346: libde265 is an open source implementation of the h.265 video codec. Prior to version 1.1.0, a crafted H.265 bitstream with large SPS dimensions and 16-bit bit depth causes a signed integer overflow in `de265_image_get_buffer()` (`libde265/image.cc:128`). The overflow wraps the plane allocation size to a small value (~1 KB), but the subsequent `fill_image()` call computes the real size using `size_t`, writing ~4 GB into the undersized heap buffer. Version 1.1.0 patches the issue. CVE-2026-49337: libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted sequence of H.265 NAL units causes `decoder_context::read_slice_NAL()` (`libde265/decctx.cc:481`) to attach slice headers to a finished picture object that has no active image unit, resulting in attacker-controlled unbounded heap growth. The retained headers are never freed until the picture is released, which may not happen during continuous streaming. Version 1.0.20 patches the issue. CVE-2026-49295: libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted H.265 bitstream can cause an out-of-bounds array write in `decoder_context::process_reference_picture_set()` (`libde265/decctx.cc:1376`). The root cause is a missing aggregate bound check on predicted short-term reference picture set entries. Individual list sizes are validated, but the combined count after predicted RPS construction can exceed the 16-entry `PocStFoll` array, writing at index 16. Version 1.0.20 patches the issue.

Fixed packages 4

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

Vulnerabilities 3

  • High 7.1

    libde265 has an out-of-bounds write in process_reference_picture_set via predicted short-term RPS

    libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted H.265 bitstream can cause an out-of-bounds array write in `decoder_context::process_reference_picture_set()` (`libde265/decctx.cc:1376`). The root cause is …

  • High 7.1

    libde265 has a heap buffer overflow in de265_image_get_buffer via SPS dimension integer overflow

    libde265 is an open source implementation of the h.265 video codec. Prior to version 1.1.0, a crafted H.265 bitstream with large SPS dimensions and 16-bit bit depth causes a signed integer overflow in `de265_image_get_buffer()` (`libde265/image.cc:128`). The …

  • Medium 4.3

    libde265 has an unbounded memory leak via orphaned slice headers in `read_slice_NAL`

    libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted sequence of H.265 NAL units causes `decoder_context::read_slice_NAL()` (`libde265/decctx.cc:481`) to attach slice headers to a finished picture object that …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-49295.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-49337.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-49346.html