Skip to content

CVE-2026-49346 libde265 has a heap buffer overflow in de265_image_get_buffer via SPS dimension integer overflow

HighCVSS 7.1 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 8 fixed.

PackageAffectedFixed inStatus
alpine/libde265(Alpine v3.24) < 1.1.3-r0 1.1.3-r0 Fixed
debian/libde265(Debian 12) < 1.0.11-1+deb12u3; = 1.0.11-1; = 1.0.11-1+deb12u1; = 1.0.11-1+deb12u2 1.0.11-1+deb12u3 Fixed
debian/libde265(Debian 13) < 1.0.15-1+deb13u1; = 1.0.15-1 1.0.15-1+deb13u1 Fixed
debian/libde265(Debian 14) < 1.1.1-1; = 1.0.15-1; = 1.0.16-1; = 1.0.18-1 1.1.1-1 Fixed
Struktur libde265 < 1.1.0 1.1.0 Fixed
ubuntu/libde265(Ubuntu 22.04) < 1.0.8-1ubuntu0.3+esm2 1.0.8-1ubuntu0.3+esm2 Fixed
ubuntu/libde265(Ubuntu 24.04) < 1.0.15-1ubuntu0.1 1.0.15-1ubuntu0.1 Fixed
ubuntu/libde265(Ubuntu 26.04) < 1.0.16-1ubuntu0.1~esm1 1.0.16-1ubuntu0.1~esm1 Fixed
strukturag libde265 = < 1.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
strukturag libde265 = < 1.1.0 No fix listed
debian/libde265(Debian:12) < 1.0.11-1+deb12u3 1.0.11-1+deb12u3
debian/libde265(Debian:12) = 1.0.11-1 No fix listed
debian/libde265(Debian:12) = 1.0.11-1+deb12u1 No fix listed
debian/libde265(Debian:12) = 1.0.11-1+deb12u2 No fix listed
debian/libde265(Debian:13) < 1.0.15-1+deb13u1 1.0.15-1+deb13u1
debian/libde265(Debian:13) = 1.0.15-1 No fix listed
debian/libde265(Debian:14) < 1.1.1-1 1.1.1-1
debian/libde265(Debian:14) = 1.0.15-1 No fix listed
debian/libde265(Debian:14) = 1.0.16-1 No fix listed
debian/libde265(Debian:14) = 1.0.18-1 No fix listed
ubuntu/libde265(Ubuntu:22.04) < 1.0.8-1ubuntu0.3+esm2 1.0.8-1ubuntu0.3+esm2
alpine/libde265(Alpine:v3.24) < 1.1.3-r0 1.1.3-r0
ubuntu/libde265(Ubuntu:24.04) < 1.0.15-1ubuntu0.1 1.0.15-1ubuntu0.1
ubuntu/libde265(Ubuntu:26.04) < 1.0.16-1ubuntu0.1~esm1 1.0.16-1ubuntu0.1~esm1
Struktur libde265 < 1.1.0 1.1.0

References