Vulnerability · Published Jul 7, 2025 · Assigned by zdi

CVE-2025-6663GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

High 7.8

In plain English

A high-severity stack buffer overflow in GStreamer from GStreamer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)0.4%top 66.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.22gst-plugins-bad1.26.3-r0ALPINE-CVE-2025-6663
Alpine:v3.23gst-plugins-bad1.26.3-r0ALPINE-CVE-2025-6663
Alpine:v3.24gst-plugins-bad1.26.3-r0ALPINE-CVE-2025-6663
Debian:13gst-plugins-bad1.01.26.2-3DEBIAN-CVE-2025-6663
Debian:14gst-plugins-bad1.01.26.2-3DEBIAN-CVE-2025-6663

Affected products (as reported)

VendorProductVersions
GStreamer GStreamer 97fec43422c4b62d569957d721c899bdaaa9da61

Weakness: CWE-121 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References