Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gstreamer | Gstreamer | >= 1.0.0, < 1.26.1 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
References
- https://www.zerodayinitiative.com/advisories/ZDI-25-267/Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/06/msg00017.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2025-3887?
CVE-2025-3887 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 GStreame...
How severe is CVE-2025-3887?
CVE-2025-3887 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-3887?
Check the references section above for vendor advisories and patch information. Affected products include: Gstreamer Gstreamer, Debian Debian Linux.