CVE-2024-47600
GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask
Reported by github_m · Published December 11, 2024
GStreamer is a library for constructing graphs of media-handling components. An OOB-read vulnerability has been detected in the format_channel_mask function in gst-discoverer.c. The vulnerability affects the local array position, which is defined with a fixed size of 64 elements. However, the function gst_discoverer_audio_info_get_channels may return a guint channels value greater than 64. This causes the for loop to attempt access beyond the bounds of the position array, resulting in an OOB-read when an index greater than 63 is used. This vulnerability can result in reading unintended bytes from the stack. Additionally, the dereference of value->value_nick after the OOB-read can lead to further memory corruption or undefined behavior. This vulnerability is fixed in 1.24.10.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gstreamer1-plugins-base-devel | Amazon Linux | 1.18.4-5.amzn2.0.8 |
| gst-plugins-base | Alpine | 1.24.10-r0 |
| gstreamer | gstreamer | 1.24.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gstreamer | gstreamer | < 1.24.10 |
| amazon:2 | gstreamer1-plugins-base-devel | 0 |
| alpine | gst-plugins-base | 0 |
| gstreamer | gstreamer | 0 |
| amazon:2 | gstreamer1-plugins-base-tools | 0 |
| amazon:2 | gstreamer1-plugins-base | 0 |
Timeline
- Dec 3, 2024 CVE Published
- Dec 12, 2024 EPSS Score (30 in total, the first dated here)
- Apr 1, 2025 Coalition ESS Score (10 in total, the first dated here)
- Jan 3, 2026 Security Advisory (42 in total, the first dated here)
- Oct 15, 2026 Distribution Patch (25 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47600
vulnetix vdb fixes CVE-2024-47600
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-2024-47600/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/ x_refsource_CONFIRM
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch x_refsource_MISC
- https://gstreamer.freedesktop.org/security/sa-2024-0018.html x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html advisory