ZDI-CAN-21768: ZDI-23-1458: GStreamer H265 Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

Published Sep 27, 2023
·
Updated

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

1 affected component
GStreamer GStreamer

Event History

Sep 27, 2023
Advisory Published
05:00 AM
Data Sourced
05:00 AM
Description
Feb 23, 2025
Advisory Published
via ZDI·01:33 PM

Frequently Asked Questions

1

What is the severity of ZDI-CAN-21768?

The severity of ZDI-CAN-21768 is high with a CVSS score of 8.8.

2

How can this vulnerability be exploited?

This vulnerability can be exploited by remote attackers to execute arbitrary code on affected installations of GStreamer.

3

What is the affected software?

The affected software is GStreamer.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203