Buffer overflow in Gstreamer
CVE-2025-3887
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.009, 60.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gstreamer — versions 2e8b542145c1b11f8b8d927f6c679fd8028ceb60
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (Alan-xh/video_search_and_summarization, ARPSyndicate/cve-scores, NVIDIA-AI-Blueprints/video-search-and-summarization, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ZDI-25-267 (x_research-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/06/msg00017.html (Mailing List, Third Party Advisory)