CVE-2026-49346: fix integer overflow in image plane allocation size
authorDebian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Sun, 30 Aug 2026 20:56:35 +0000 (22:56 +0200)
committerMoritz Mühlenhoff <jmm@debian.org>
Sun, 30 Aug 2026 20:56:35 +0000 (22:56 +0200)
commitdec759c9c8c8a5dcc71d70760e358360e14795af
tree28d8d3cb91db8c81a62ff23f6099987be9f892d3
parent2af0cc91c2454c26e3e428d286c61284488f5f99
CVE-2026-49346: fix integer overflow in image plane allocation size

Origin: upstream, https://github.com/strukturag/libde265/commit/8a1b5cf212f78e1c77cb46eb5d56e492a9336eb8
Bug: https://github.com/strukturag/libde265/security/advisories/GHSA-vv8h-932h-7r86
Bug-Debian: https://bugs.debian.org/1140431
Applied-Upstream: 1.1.0

Large SPS dimensions with 16-bit bit depth overflow the 32-bit allocation
size in de265_image_get_buffer(); the wrapped ~1 KB allocation is later
written with the full plane size, corrupting the heap.

Gbp-Pq: Name CVE-2026-49346.patch
libde265/image.cc