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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gst-plugins-bad1.0 | 1.26.2-3 | — |
| Debian 13 | gst-plugins-bad1.0 | 1.26.2-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- WID-SEC-2025-1411 GStreamer: Schwachstelle ermöglicht Codeausführung und DoS BSI CERT-Bund (WID) · Jun 26, 2025
References
- ZDI-25-467
- vendor-provided URL vendor-advisory