<Vulnerability name="CVE-2026-5056">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-07-29T19:10:33</PublicDate>
    <Bugzilla id="2508623" url="https://bugzilla.redhat.com/show_bug.cgi?id=2508623" xml:lang="en:us">
gstreamer: GStreamer: Arbitrary code execution via stack-based buffer overflow in qtdemux
    </Bugzilla>
    <CVSS3 status="verified">
        <CVSS3BaseScore>7.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-121</CWE>
    <Details xml:lang="en:us" source="Mitre">
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.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A stack-based buffer overflow in GStreamer's qtdemux component allows attackers to execute arbitrary code via specially crafted input. This occurs due to insufficient data length validation when parsing UncompressedFrameConfigBox structures.
    </Details>
    <Statement xml:lang="en:us">
An Important security flaw in GStreamer's QuickTime parser could allow an attacker to execute malicious code if a user opens a specially crafted media file. Because the vulnerable code was introduced in GStreamer 1.26.0, Red Hat Enterprise Linux (RHEL) versions 9 and older do not contain this code and are not affected by this vulnerability.
    </Statement>
    <Mitigation xml:lang="en:us">
Do not open, preview, or auto-index untrusted MOV/MP4 files with GStreamer-based apps; leave RHEL memory protections and SELinux enabled
    </Mitigation>
    <AffectedRelease cpe="cpe:/o:redhat:enterprise_linux:10.2">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <ReleaseDate>2026-08-03T00:00:00Z</ReleaseDate>
        <Advisory type="RHSA" url="https://access.redhat.com/errata/RHSA-2026:49508">RHSA-2026:49508</Advisory>
        <Package name="gstreamer1-plugins-good">gstreamer1-plugins-good-0:1.26.7-2.el10_2.2</Package>
    </AffectedRelease>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>gstreamer</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>gstreamer</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>gstreamer1</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>gstreamer1</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>mingw-gstreamer1</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>gstreamer1</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-5056
https://nvd.nist.gov/vuln/detail/CVE-2026-5056
http://www.openwall.com/lists/oss-security/2026/05/01/1
https://gitlab.freedesktop.org/api/v4/projects/gstreamer%2Fgstreamer/repository/files/security-advisories%2Fsa-2026-0016.md/raw?ref=main
https://www.zerodayinitiative.com/advisories/ZDI-26-283/
    </References>
</Vulnerability>