Skip to content
OpenAdvisories
High · 7.8 CVE-2025-6663 EUVD-2025-20240GHSA-8539-chjx-chcc

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

Published Jul 7, 2025 · Updated Jul 7, 2025 · Assigned by zdi

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 products

VendorProductAffectedFixed
GStreamer GStreamer 97fec43422c4b62d569957d721c899bdaaa9da61 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gst-plugins-bad1.0 1.26.2-3 —
Debian 13 gst-plugins-bad1.0 1.26.2-3 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gst-plugins-bad1.0 No fix yet —
Ubuntu Pro 22.04 LTS gst-plugins-bad1.0 No fix yet —
Ubuntu Pro 20.04 LTS gst-plugins-bad1.0 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gst-plugins-bad1.0 No fix yet —
Ubuntu Pro 16.04 LTS gst-plugins-bad1.0 No fix yet —
Ubuntu Pro 14.04 LTS gst-plugins-bad1.0 No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 gst-plugins-bad 1.26.3-r0 —
Alpine v3.23 gst-plugins-bad 1.26.3-r0 —
Alpine v3.22 gst-plugins-bad 1.26.3-r0 —

Advisories 1

References