Skip to content
OpenAdvisories
High · 7.1 CVE-2026-49346 EUVD-2026-38080

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

Published Jun 19, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
strukturag libde265 < 1.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libde265 1.1.1-1 —
Debian 13 libde265 1.0.15-1+deb13u1 —
Debian 12 libde265 1.0.11-1+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 libde265 No fix yet —
Ubuntu 24.04 LTS libde265 1.0.15-1ubuntu0.1 USN-8573-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS libde265 1.0.16-1ubuntu0.1~esm1 USN-8573-1
Ubuntu Pro 22.04 LTS libde265 1.0.8-1ubuntu0.3+esm2 USN-8573-1
Ubuntu Pro 20.04 LTS libde265 1.0.4-1ubuntu0.4+esm2 USN-8573-1
Ubuntu Pro 18.04 LTS libde265 1.0.2-2ubuntu0.18.04.1~esm6 USN-8573-1
Ubuntu Pro 16.04 LTS libde265 1.0.2-2ubuntu0.16.04.1~esm6 USN-8573-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libde265 1.1.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libde265 +1 1.0.18-1.amzn2023.0.2 ALAS2023-2026-1918

Advisories 2

References