CVE-2023-40474
GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability
Reported by zdi · Published May 3, 2024
GStreamer MXF File Parsing Integer 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 MXF video files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-21660.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gstreamer-plugins-bad-free | Amazon Linux | 0.10.23-42.amzn2.0.3 |
| gst-plugins-bad | Alpine | 1.22.7-r0, 1.22.6-r0 |
| gstreamer1-plugins-bad-free-devel | Amazon Linux | 1.18.4-5.amzn2.0.2 |
| gstreamer1-plugins-bad-free | Amazon Linux | 1.18.4-5.amzn2.0.2 |
| gstreamer | gstreamer | 1.22.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GStreamer | GStreamer | 1.22.4 and 8dddb9ad2009705dfc3e50d59d7c56fc7314cfc3 |
| amazon:2 | gstreamer-plugins-bad-free | 0 |
| alpine | gst-plugins-bad | 0, 0 |
| gstreamer | gstreamer | 0 |
| amazon:2 | gstreamer1-plugins-bad-free-devel | 0 |
| amazon:2 | gstreamer1-plugins-bad-free | 0 |
| amazon:2 | gstreamer-plugins-bad-free-devel | 0 |
| amazon:2 | gstreamer-plugins-bad-free-devel-docs | 0 |
| GStreamer | GStreamer | 1.22.4 |
Timeline
- Sep 20, 2023 CVE Published
- May 3, 2024 EPSS Score (30 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 21, 2026 Security Advisory (8 in total, the first dated here)
- Aug 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-40474
vulnetix vdb fixes CVE-2023-40474
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-40474/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- ZDI-23-1456 x_research-advisory
- vendor-provided URL vendor-advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00038.html advisory