{"id":"CVE-2024-47541","state":"PUBLISHED","title":"GHSL-2024-228: GStreamer has an out-of-bounds write in SSA subtitle parser","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.","publishedAt":"2024-12-11T18:54:33.099Z","updatedAt":"2025-11-03T22:20:15.648Z","severity":{"score":6.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["gstreamer gstreamer"],"affected":[{"vendor":"gstreamer","product":"gstreamer","versions":[{"version":"< 1.24.10","status":"affected"}]}],"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","https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/47xxx/CVE-2024-47541.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-47541","state":"PUBLISHED","datePublished":"2024-12-11T18:54:33.099Z","dateUpdated":"2025-11-03T22:20:15.648Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-09-25T21:46:10.930Z"},"containers":{"cna":{"title":"GHSL-2024-228: GStreamer has an out-of-bounds write in SSA subtitle parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gstreamer","product":"gstreamer","versions":[{"version":"< 1.24.10","status":"affected"}]}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-228_GStreamer/","name":"https://securitylab.github.com/advisories/GHSL-2024-228_GStreamer/","tags":["x_refsource_CONFIRM"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8036.patch","name":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8036.patch","tags":["x_refsource_MISC"]},{"url":"https://gstreamer.freedesktop.org/security/sa-2024-0023.html","name":"https://gstreamer.freedesktop.org/security/sa-2024-0023.html","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-11T18:54:33.099Z"},"source":{"advisory":"GHSA-7h7h-6gjp-wqc4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-12T14:33:06.587461Z","id":"CVE-2024-47541","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-12T14:33:13.881Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:20:15.648Z"}}]}}}