CVE-2023-40476

Name
CVE-2023-40476
Description
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. Was ZDI-CAN-21768.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://gstreamer.freedesktop.org/security/sa-2023-0008.html
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-23-1458/

Match rules

CPE URI Source package Min version Max version
gstreamer == R.47.0.0 AutoCAD 2021 & R.47.0.0 AutoCAD LT 2021 == R.47.0.0 AutoCAD 2021 & R.47.0.0 AutoCAD LT 2021

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gst-plugins-bad 3.18-community 1.22.7-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
gstreamer 3.17-main 1.20.6-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable