CVE-2025-3887 GStreamer H265 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
HighCVSS 8.8
EPSS 0.91%
- Published
- Updated
- Exploit status
- No public exploit known
Description
GStreamer H265 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 H265 slice headers. 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-26596.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gst-plugins-bad1.0(Debian:12) | < 1.22.0-4+deb12u6 | 1.22.0-4+deb12u6 |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4+deb12u1 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4+deb12u2 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4+deb12u3 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4+deb12u4 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4+deb12u5 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:13) | < 1.26.1-1 | 1.26.1-1 |
| debian/gst-plugins-bad1.0(Debian:14) | < 1.26.1-1 | 1.26.1-1 |
| GStreamer | = 2e8b542145c1b11f8b8d927f6c679fd8028ceb60 | No fix listed |
| ubuntu/gst-plugins-bad1.0(Ubuntu:22.04) | < 1.20.3-0ubuntu1.1+esm2 | 1.20.3-0ubuntu1.1+esm2 |
| alpine/gst-plugins-bad(Alpine:v3.22) | < 1.26.1-r0 | 1.26.1-r0 |
| alpine/gst-plugins-bad(Alpine:v3.23) | < 1.26.1-r0 | 1.26.1-r0 |
| alpine/gst-plugins-bad(Alpine:v3.24) | < 1.26.1-r0 | 1.26.1-r0 |
| ubuntu/gst-plugins-bad1.0(Ubuntu:24.04) | < 1.24.2-1ubuntu4+esm1 | 1.24.2-1ubuntu4+esm1 |
| GStreamer | >= 1.0.0, < 1.26.1 | 1.26.1 |
| debian linux | = 11.0 | No fix listed |
References
- Debian Security Tracker CVE-2025-3887 vendor-advisory
- ZDI-25-267 third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7558-1 vendor-advisory
- USN-8205-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking