CVE-2025-6663 GStreamer H266 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
HighCVSS 7.8
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gst-plugins-bad1.0(Debian:13) | < 1.26.2-3 | 1.26.2-3 |
| debian/gst-plugins-bad1.0(Debian:14) | < 1.26.2-3 | 1.26.2-3 |
| GStreamer | = 97fec43422c4b62d569957d721c899bdaaa9da61 | No fix listed |
| ubuntu/gst-plugins-bad1.0(Ubuntu:22.04) | All versions | No fix listed |
| alpine/gst-plugins-bad(Alpine:v3.22) | < 1.26.3-r0 | 1.26.3-r0 |
| alpine/gst-plugins-bad(Alpine:v3.23) | < 1.26.3-r0 | 1.26.3-r0 |
| alpine/gst-plugins-bad(Alpine:v3.24) | < 1.26.3-r0 | 1.26.3-r0 |
| ubuntu/gst-plugins-bad1.0(Ubuntu:24.04) | All versions | No fix listed |
| GStreamer | >= 1.26.0, < 1.26.3 | 1.26.3 |
References
- Debian Security Tracker CVE-2025-6663 vendor-advisory
- ZDI-25-467 third-party-advisory
- vendor-provided URL patch vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking