CVE-2025-6663

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*

History

14 Aug 2025, 13:44

Type Values Removed Values Added
CPE cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:*
CWE CWE-787
First Time Gstreamer Project gstreamer
Gstreamer Project
References () https://gitlab.freedesktop.org/tpm/gstreamer/-/commit/eedd01ac3dfeb60e36a44bb61a6d0418454e8416 - () https://gitlab.freedesktop.org/tpm/gstreamer/-/commit/eedd01ac3dfeb60e36a44bb61a6d0418454e8416 - Patch
References () https://www.zerodayinitiative.com/advisories/ZDI-25-467/ - () https://www.zerodayinitiative.com/advisories/ZDI-25-467/ - Third Party Advisory

08 Jul 2025, 16:18

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de ejecución remota de código por desbordamiento de búfer basado en pila en el análisis de GStreamer H266 Codec. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de GStreamer. Se requiere la interacción con esta librería para explotar esta vulnerabilidad, pero los vectores de ataque pueden variar según la implementación. La falla específica se encuentra en el análisis de los mensajes sei H266. El problema se debe a la falta de una validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos a un búfer basado en pila de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del proceso actual. Era ZDI-CAN-27381.

07 Jul 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-07 15:15

Updated : 2025-08-14 13:44


NVD link : CVE-2025-6663

Mitre link : CVE-2025-6663

CVE.ORG link : CVE-2025-6663


JSON object : View

Products Affected

gstreamer_project

  • gstreamer
CWE
CWE-121

Stack-based Buffer Overflow

CWE-787

Out-of-bounds Write