High severity · published Dec 11, 2024
CVE-2024-47541
GHSL-2024-228: GStreamer has an out-of-bounds write in SSA subtitle parser
7.5
CVSS
1.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GS
gstreamer · gstreamer
< 1.24.10 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-47541
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-47541
Patch
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8036.patch
Patch
https://gstreamer.freedesktop.org/security/sa-2024-0023.html
Exploit
https://securitylab.github.com/advisories/GHSL-2024-228_GStreamer/
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html
More from gstreamer
9.8
CVE-2026-111183
GStreamer rtpL16depay Heap-based Buffer Overflow Remote Code Execution Vulnerability
9.8
CVE-2024-47613
GHSL-2024-118: GStreamer has a null pointer dereference in gst_gdk_pixbuf_dec_flush
9.8
CVE-2024-47615
GHSL-2024-117: GStreamer has an out-of-bounds write in Ogg demuxer
9.8
CVE-2024-47607
GHSL-2024-116: Stack-buffer overflow in gst_opus_dec_parse_header
9.8
CVE-2024-47606
GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes
