cve.bz

CVE-2025-6663 gstreamer gstreamer: Out-of-bounds Write

7.8 highEPSS 0.4%Fix available

High (7.8) in gstreamer gstreamer. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
GStreamer H266 Codec Parsing 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 H266 sei messages. 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-27381.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-07-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-6663 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-6663?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-6663?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-6663 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gstreamer:gstreamerfrom 1.26.0 before 1.26.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14gst-plugins-bad1.01.26.2-3DEBIAN-CVE-2025-6663
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 3 moregst-plugins-bad1.0no fix listedUBUNTU-CVE-2025-6663
Alpinev3.22, v3.23, v3.24gst-plugins-bad1.26.3-r0ALPINE-CVE-2025-6663

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

No Red Hat products or offerings are affected by this vulnerability.

This vulnerability has been rated as Important rather than Moderate due to its capability to enable remote code execution (RCE) through a stack-based buffer overflow. Unlike typical parsing defects that primarily lead to denial of service, this specific flaw allows an attacker to gain control of the instruction pointer by corrupting stack memory, thereby creating an opportunity for arbitrary code execution. Given GStreamer's widespread use across desktop environments and various media applications, including web browsers, chat clients, and media players, an attacker could exploit this by enticing a user to open or stream a specially crafted malicious video file. The fact that successful exploitation does not require elevated privileges or complex user interaction significantly escalates both its exploitability and potential impact, marking this as a high-severity security concern for end-user systems.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gstreamer1Not affected
Red Hat Enterprise Linux 6gstreamerNot affected
Red Hat Enterprise Linux 7gstreamerNot affected
Red Hat Enterprise Linux 7gstreamer1Not affected
Red Hat Enterprise Linux 8gstreamer1Not affected
Red Hat Enterprise Linux 8mingw-gstreamer1Not affected
Red Hat Enterprise Linux 9gstreamer1Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-6663.

References

Check your stackJSON