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
1.26.0 before 1.26.3 · source: 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-47615
GStreamer is a library for constructing graphs of media-handling components
9.8
CVE-2024-47613
GStreamer is a library for constructing graphs of media-handling components
9.8
CVE-2024-47607
GStreamer is a library for constructing graphs of media-handling components
9.8
CVE-2024-47606
GStreamer is a library for constructing graphs of media-handling components
