High severity · published Jul 7, 2025
CVE-2025-6663
GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
7.8
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GS
GStreamer · GStreamer
97fec43422c4b62d569957d721c899bdaaa9da61 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-6663
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-6663
Patch
https://gitlab.freedesktop.org/tpm/gstreamer/-/commit/eedd01ac3dfeb60e36a44bb61a6d0418454e8416
Third Party Advisory
https://www.zerodayinitiative.com/advisories/ZDI-25-467/
More from GStreamer
9.8
CVE-2026-111183
GStreamer rtpL16depay Heap-based Buffer Overflow Remote Code Execution Vulnerability
9.8
CVE-2024-47613
GHSL-2024-118: GStreamer has a null pointer dereference in gst_gdk_pixbuf_dec_flush
9.8
CVE-2024-47615
GHSL-2024-117: GStreamer has an out-of-bounds write in Ogg demuxer
9.8
CVE-2024-47607
GHSL-2024-116: Stack-buffer overflow in gst_opus_dec_parse_header
9.8
CVE-2024-47606
GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes
