CVE-2026-5056 GStreamer qtdemux Stack-based Buffer Overflow Remote Code Execution Vulnerability

High 7.8 Published Updated

Remote attackers can execute arbitrary code via a stack-based buffer overflow in GStreamer's qtdemux component when parsing malicious media files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-5056?

CVE-2026-5056 is a high-severity memory corruption vulnerability in GStreamer, published on 29 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

GStreamer qtdemux Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of UncompressedFrameConfigBox structures. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29392.

Weakness: CWE-121

Which versions are affected by CVE-2026-5056?

Linux distribution packages (9)
gstreamer1-plugins-good AlmaLinux:10All versions1.26.7-2.el10_2.2
gstreamer1-plugins-good-gtk AlmaLinux:10All versions1.26.7-2.el10_2.2
gstreamer1-plugins-good Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.2
gstreamer1-plugins-good-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.2
gstreamer1-plugins-good-debugsource Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.2
gstreamer1-plugins-good-gtk Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.2
gstreamer1-plugins-good-gtk-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.2
gstreamer1-plugins-good-qt6-debuginfo Red Hat:enterprise_linux:10.2All versions0:1.26.7-2.el10_2.2
gstreamer1-plugins-good Rocky Linux:10All versions0:1.26.7-2.el10_2.2

How do I fix CVE-2026-5056?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-5056 being exploited?

There is no known exploitation of CVE-2026-5056 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:49508, DEBIAN-CVE-2026-5056, GHSA-w72g-mjg9-9cfg, RHSA-2026:49508, RLSA-2026:49508, UBUNTU-CVE-2026-5056 and 1 more.

Is CVE-2026-5056 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free