{"id":"CVE-2024-47541","published":"2024-12-11T18:54:33Z","modified":"2025-11-03T22:20:15Z","title":"GHSL-2024-228: GStreamer has an out-of-bounds write in SSA subtitle parser","vendor":"gstreamer","product":"gstreamer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01326,"percentile":0.71723,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-228_GStreamer/","tags":["x_refsource_CONFIRM"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8036.patch","tags":["x_refsource_MISC"]},{"url":"https://gstreamer.freedesktop.org/security/sa-2024-0023.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html","tags":[]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":14.34},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"gstreamer","affectedVersions":[{"vendor":"gstreamer","product":"gstreamer","versions":["< 1.24.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-12T14:33:06.587461Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42801","exploited":false,"provenance":"source"}}