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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libde265 | 1.1.1-1 | — |
| Debian 13 | libde265 | 1.0.15-1+deb13u1 | — |
| Debian 12 | libde265 | 1.0.11-1+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libde265 | 1.1.3-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libde265 +1 | 1.0.18-1.amzn2023.0.2 | ALAS2023-2026-1918 |
Advisories 2
- USN-8573-1 libde265 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- ALAS2023-2026-1918 Important: libde265 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026