Skip to content

CVE-2026-49337 libde265 has an unbounded memory leak via orphaned slice headers in `read_slice_NAL`

MediumCVSS 4.3 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
strukturag libde265 = < 1.0.20 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

References