CVE-2023-40476 GStreamer H265 Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
HighCVSS 8.8
EPSS 2.3%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gst-plugins-bad1.0(Debian:12) | < 1.22.0-4+deb12u2 | 1.22.0-4+deb12u2 |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:12) | = 1.22.0-4+deb12u1 | No fix listed |
| debian/gst-plugins-bad1.0(Debian:13) | < 1.22.7-1 | 1.22.7-1 |
| debian/gst-plugins-bad1.0(Debian:14) | < 1.22.7-1 | 1.22.7-1 |
| GStreamer | = 1.22.4 and 8dddb9ad2009705dfc3e50d59d7c56fc7314cfc3 | No fix listed |
| GStreamer | < 1.22.6 | 1.22.6 |
| ubuntu/gst-plugins-bad1.0(Ubuntu:22.04) | < 1.20.3-0ubuntu1.1 | 1.20.3-0ubuntu1.1 |
| alpine/gst-plugins-bad(Alpine:v3.18) | < 1.22.7-r0 | 1.22.7-r0 |
| alpine/gst-plugins-bad(Alpine:v3.19) | < 1.22.6-r0 | 1.22.6-r0 |
| alpine/gst-plugins-bad(Alpine:v3.20) | < 1.22.6-r0 | 1.22.6-r0 |
| alpine/gst-plugins-bad(Alpine:v3.21) | < 1.22.6-r0 | 1.22.6-r0 |
| alpine/gst-plugins-bad(Alpine:v3.22) | < 1.22.6-r0 | 1.22.6-r0 |
| alpine/gst-plugins-bad(Alpine:v3.23) | < 1.22.6-r0 | 1.22.6-r0 |
| alpine/gst-plugins-bad(Alpine:v3.24) | < 1.22.6-r0 | 1.22.6-r0 |
References
- Debian Security Tracker CVE-2023-40476 vendor-advisory
- ZDI-23-1458 third-party-advisory
- vendor-provided URL patch release-notes vendor-advisory
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-6526-1 vendor-advisory
- USN-8205-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking