CVE-2024-47541GHSL-2024-228: GStreamer has an out-of-bounds write in SSA subtitle parser
GStreamer is a library for constructing graphs of media-handling components. An OOB-write vulnerability has been identified in the gst_ssa_parse_remove_override_codes function of the gstssaparse.c file. This function is responsible for parsing and removing SSA (SubStation Alpha) style override codes, which are enclosed in curly brackets ({}). The issue arises when a closing curly bracket "}" appears before an opening curly bracket "{" in the input string. In this case, memmove() incorrectly duplicates a substring. With each successive loop iteration, the size passed to memmove() becomes progressively larger (strlen(end+1)), leading to a write beyond the allocated memory bounds. 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.
Red Hat, Ubuntu have 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-47541 |
| Ubuntu 22.04 | gst-plugins-base1.0 | Fixed | 1.20.1-1ubuntu0.4 | UBUNTU-CVE-2024-47541 |
| Ubuntu 20.04 | gst-plugins-base1.0 | Fixed | 1.16.3-0ubuntu1.4 | UBUNTU-CVE-2024-47541 |
| Ubuntu 18.04 | gst-plugins-base1.0 | Fix pending | 1.14.5-0ubuntu1~18.04.3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-47541 |
| Ubuntu 16.04 | gst-plugins-base0.10 | Fix pending | UBUNTU-CVE-2024-47541 | |
| Ubuntu 16.04 | gst-plugins-base1.0 | Fix pending | 1.8.3-1ubuntu0.3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-47541 |
| Debian 14 | gst-plugins-base1.0 | Fixed | 1.24.10-1 | DEBIAN-CVE-2024-47541 |
| Debian 13 | gst-plugins-base1.0 | Fixed | 1.24.10-1 | DEBIAN-CVE-2024-47541 |
| Debian 12 | gst-plugins-base1.0 | Fixed | 1.22.0-3+deb12u3 | DEBIAN-CVE-2024-47541 |
| Red Hat Enterprise Linux 10 | gstreamer1-plugins-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | gstreamer1-plugins-base-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | gstreamer1-plugins-base-tools | Fix pending 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-47541 |
| Alpine Linux 3.23 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47541 |
| Alpine Linux 3.22 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47541 |
| Alpine Linux 3.21 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47541 |
| Alpine Linux 3.20 | gst-plugins-base | Fixed | 1.24.10-r0 | ALPINE-CVE-2024-47541 |
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-228_GStreamer/
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8036.patch
- https://gstreamer.freedesktop.org/security/sa-2024-0023.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.