{"id":"CVE-2024-47834","state":"PUBLISHED","title":"GHSL-2024-280: Gstreamer Use-After-Free read in Matroska CodecPrivate","description":"GStreamer is a library for constructing graphs of media-handling components. An Use-After-Free read vulnerability has been discovered affecting the processing of CodecPrivate elements in Matroska streams. In the GST_MATROSKA_ID_CODECPRIVATE case within the gst_matroska_demux_parse_stream function, a data chunk is allocated using gst_ebml_read_binary. Later, the allocated memory is freed in the gst_matroska_track_free function, by the call to g_free (track->codec_priv). Finally, the freed memory is accessed in the caps_serialize function through gst_value_serialize_buffer. The freed memory will be accessed in the gst_value_serialize_buffer function. This results in a UAF read vulnerability, as the function tries to process memory that has already been freed. This vulnerability is fixed in 1.24.10.","publishedAt":"2024-12-11T19:18:04.069Z","updatedAt":"2025-11-03T20:40:55.432Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/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-280_Gstreamer/","https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch","https://gstreamer.freedesktop.org/security/sa-2024-0030.html","https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/47xxx/CVE-2024-47834.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-47834","state":"PUBLISHED","datePublished":"2024-12-11T19:18:04.069Z","dateUpdated":"2025-11-03T20:40:55.432Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-03T14:06:12.643Z"},"containers":{"cna":{"title":"GHSL-2024-280: Gstreamer Use-After-Free read in Matroska CodecPrivate","descriptions":[{"lang":"en","value":"GStreamer is a library for constructing graphs of media-handling components. An Use-After-Free read vulnerability has been discovered affecting the processing of CodecPrivate elements in Matroska streams. In the GST_MATROSKA_ID_CODECPRIVATE case within the gst_matroska_demux_parse_stream function, a data chunk is allocated using gst_ebml_read_binary. Later, the allocated memory is freed in the gst_matroska_track_free function, by the call to g_free (track->codec_priv). Finally, the freed memory is accessed in the caps_serialize function through gst_value_serialize_buffer. The freed memory will be accessed in the gst_value_serialize_buffer function. This results in a UAF read vulnerability, as the function tries to process memory that has already been freed. 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-280_Gstreamer/","name":"https://securitylab.github.com/advisories/GHSL-2024-280_Gstreamer/","tags":["x_refsource_CONFIRM"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch","name":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch","tags":["x_refsource_MISC"]},{"url":"https://gstreamer.freedesktop.org/security/sa-2024-0030.html","name":"https://gstreamer.freedesktop.org/security/sa-2024-0030.html","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-11T19:18:04.069Z"},"source":{"advisory":"GHSA-35x4-mx8h-fgm8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-11T21:15:13.370606Z","id":"CVE-2024-47834","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-11T21:15:31.525Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:40:55.432Z"}}]}}}