CVE-2024-47834
GHSL-2024-280: Gstreamer Use-After-Free read in Matroska CodecPrivate
Reported by github_m · Published December 11, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gst-plugins-good | Alpine | 1.24.10-r0 |
| gstreamer | gstreamer | 1.24.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gstreamer | gstreamer | < 1.24.10 |
| alpine | gst-plugins-good | 0 |
| gstreamer | gstreamer | 0 |
| amazon:2 | gstreamer1-plugins-good | 0 |
| amazon:2 | gstreamer1-plugins-good-gtk | 0 |
Timeline
- Dec 3, 2024 CVE Published
- Dec 12, 2024 EPSS Score (30 in total, the first dated here)
- Apr 24, 2025 Coalition ESS Score (10 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Jan 3, 2026 Security Advisory (41 in total, the first dated here)
- Oct 15, 2026 Distribution Patch (25 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47834
vulnetix vdb fixes CVE-2024-47834
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47834/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://securitylab.github.com/advisories/GHSL-2024-280_Gstreamer/ x_refsource_CONFIRM
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch x_refsource_MISC
- https://gstreamer.freedesktop.org/security/sa-2024-0030.html x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html advisory