ZDI-CAN-21768: ZDI-23-1458: GStreamer H265 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 encoded video files. 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-2023-40476.
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-21768?
The severity of ZDI-CAN-21768 is high with a CVSS score of 8.8.
How can this vulnerability be exploited?
This vulnerability can be exploited by remote attackers to execute arbitrary code on affected installations of GStreamer.
What is the affected software?
The affected software is GStreamer.
Where can I find more information about this vulnerability?
You can find more information about this vulnerability on the Zero Day Initiative and GStreamer websites.
How do I fix ZDI-CAN-21768?
To fix ZDI-CAN-21768, it is recommended to update to the latest version of GStreamer and apply any available patches or security updates.