CVE-2024-47600GHSL-2024-248: GStreamer has an OOB-read in format_channel_mask
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gst-plugins-base1.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | gst-plugins-base1.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | gst-plugins-base1.0 | Fixed | 1.24.2-1ubuntu0.2 | UBUNTU-CVE-2024-47600 |
| Ubuntu 22.04 | gst-plugins-base1.0 | Fixed | 1.20.1-1ubuntu0.4 | UBUNTU-CVE-2024-47600 |
| Ubuntu 20.04 | gst-plugins-base1.0 | Fixed | 1.16.3-0ubuntu1.4 | UBUNTU-CVE-2024-47600 |
| Ubuntu 18.04 | gst-plugins-base1.0 | Fix pending | 1.14.5-0ubuntu1~18.04.3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-47600 |
| Ubuntu 16.04 | gst-plugins-base0.10 | Fix pending | UBUNTU-CVE-2024-47600 | |
| Debian 14 | gst-plugins-base1.0 | Fixed | 1.24.10-1 | DEBIAN-CVE-2024-47600 |
| Debian 13 | gst-plugins-base1.0 | Fixed | 1.24.10-1 | DEBIAN-CVE-2024-47600 |
| Debian 12 | gst-plugins-base1.0 | Fixed | 1.22.0-3+deb12u3 | DEBIAN-CVE-2024-47600 |
| Red Hat Enterprise Linux 10 | gstreamer1-plugins-base | Not affected | ||
| Red Hat Enterprise Linux 10 | gstreamer1-plugins-base-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | gstreamer1-plugins-base-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | gstreamer1-plugins-base | Fixed | 0:1.22.12-4.el9 | RHSA-2025:7243 |
| Red Hat Enterprise Linux 9 | gstreamer1-plugins-base-devel | Fixed | 0:1.22.12-4.el9 | RHSA-2025:7243 |
| Red Hat Enterprise Linux 9 | gstreamer1-plugins-base-tools | Fixed | 0:1.22.12-4.el9 | RHSA-2025:7243 |
| Red Hat Enterprise Linux 8 | gstreamer1-plugins-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | gstreamer1-plugins-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base-devel-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gstreamer1-plugins-base-tools | Will not fix Out of support scope | ||
| AlmaLinux 9 | gstreamer1-plugins-base | Fixed | 1.22.12-4.el9 | ALSA-2025:7243 |
| AlmaLinux 9 | gstreamer1-plugins-base-devel | Fixed | 1.22.12-4.el9 | ALSA-2025:7243 |
| AlmaLinux 9 | gstreamer1-plugins-base-tools | Fixed | 1.22.12-4.el9 | ALSA-2025:7243 |
| Rocky Linux 9 | gstreamer1-plugins-base | Fixed | 0:1.22.12-4.el9 | RLSA-2025:7243 |
| Alpine Linux 3.24 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47600 |
| Alpine Linux 3.23 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47600 |
| Alpine Linux 3.22 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47600 |
| Alpine Linux 3.21 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47600 |
| Alpine Linux 3.20 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47600 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gstreamer: affected: < 1.24.10
References
- https://securitylab.github.com/advisories/GHSL-2024-248_Gstreamer/
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034.patch
- https://gstreamer.freedesktop.org/security/sa-2024-0018.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.