ZDI-CAN-26596: ZDI-25-267: 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.
Other sources
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 ZDI has assigned a CVSS rating of 8.8. The following CVEs are assigned: CVE-2025-3887.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-26596?
The severity of ZDI-CAN-26596 is rated at 8.8, indicating a high level of risk.
How do I fix ZDI-CAN-26596?
To fix ZDI-CAN-26596, update GStreamer to the latest version provided by the vendor.
What versions of GStreamer are affected by ZDI-CAN-26596?
ZDI-CAN-26596 affects all installations of GStreamer that interact with the vulnerable library.
What type of vulnerability is ZDI-CAN-26596?
ZDI-CAN-26596 is a remote code execution vulnerability that allows remote attackers to execute arbitrary code.
What are the potential attack vectors for ZDI-CAN-26596?
The attack vectors for ZDI-CAN-26596 vary depending on the specific implementation of the GStreamer library.