{"id":"CVE-2024-47537","state":"PUBLISHED","title":"GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c","description":"GStreamer is a library for constructing graphs of media-handling components. The program attempts to reallocate the memory pointed to by stream->samples to accommodate stream->n_samples + samples_count elements of type QtDemuxSample. The problem is that samples_count is read from the input file. And if this value is big enough, this can lead to an integer overflow during the addition. As a consequence, g_try_renew might allocate memory for a significantly smaller number of elements than intended. Following this, the program iterates through samples_count elements and attempts to write samples_count number of elements, potentially exceeding the actual allocated memory size and causing an OOB-write. This vulnerability is fixed in 1.24.10.","publishedAt":"2024-12-11T18:51:56.158Z","updatedAt":"2025-11-03T20:39:34.675Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/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-094_Gstreamer/","https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059.patch","https://gstreamer.freedesktop.org/security/sa-2024-0005.html","https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html"],"weaknesses":["CWE-787","CWE-190"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/47xxx/CVE-2024-47537.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-47537","state":"PUBLISHED","datePublished":"2024-12-11T18:51:56.158Z","dateUpdated":"2025-11-03T20:39:34.675Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-09-25T21:46:10.929Z"},"containers":{"cna":{"title":"GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c","descriptions":[{"lang":"en","value":"GStreamer is a library for constructing graphs of media-handling components. The program attempts to reallocate the memory pointed to by stream->samples to accommodate stream->n_samples + samples_count elements of type QtDemuxSample. The problem is that samples_count is read from the input file. And if this value is big enough, this can lead to an integer overflow during the addition. As a consequence, g_try_renew might allocate memory for a significantly smaller number of elements than intended. Following this, the program iterates through samples_count elements and attempts to write samples_count number of elements, potentially exceeding the actual allocated memory size and causing an OOB-write. 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-094_Gstreamer/","name":"https://securitylab.github.com/advisories/GHSL-2024-094_Gstreamer/","tags":["x_refsource_CONFIRM"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059.patch","name":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059.patch","tags":["x_refsource_MISC"]},{"url":"https://gstreamer.freedesktop.org/security/sa-2024-0005.html","name":"https://gstreamer.freedesktop.org/security/sa-2024-0005.html","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/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"}]},{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-11T18:51:56.158Z"},"source":{"advisory":"GHSA-2939-37w3-9rg9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-11T19:15:39.558211Z","id":"CVE-2024-47537","options":[{"Exploitation":"none"},{"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-11T19:15:49.449Z"}},{"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:39:34.675Z"}}]}}}