Name
CVE-2024-47834
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.
CWEs
Published Date
Updated Date
Workaround
-
Analysis#
Vulnerability Ratings#
5.1
CVSSv4
9.1
CVSSv31
NaN
other
Others affected components#
Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.24.13
Not Affected
buildroot
master
1.24.13
Not Affected
openwrt
master
1.26.4-r2
Not Affected
openwrt
openwrt-25.12
1.26.4-r2
Not Affected
yocto
kirkstone
1.20.7
Not Affected
yocto
kirkstone
1.20.7
Patched
yocto
master
1.28.4
Not Affected
yocto
master
1.28.4
Not Affected
Resolved with patches#
gstreamer1.0-plugins-good (yocto:kirkstone)
#
Title
Author
Resolve
1
matroskademux: Only unmap GstMapInfo in WavPack header
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
2
matroskademux: Skip over laces directly when postprocessing
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
3
matroskademux: Don't take data out of an empty adapter when
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
4
matroskademux: Check for big enough WavPack codec private
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
5
matroskademux: Skip over zero-sized Xiph stream headers
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
6
matroskademux: Fix off-by-one when parsing multi-channel
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
7
matroskademux: Put a copy of the codec data into the A_MS/ACM
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
gstreamer1.0-plugins-good (yocto:scarthgap)
#
Title
Author
Resolve
1
matroskademux: Check for big enough WavPack codec private
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47597
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
2
matroskademux: Only unmap GstMapInfo in WavPack header
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47597
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
3
matroskademux: Skip over laces directly when
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
4
matroskademux: Don't take data out of an empty adapter
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47597
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
5
matroskademux: Fix off-by-one when parsing multi-channel
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47597
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
6
matroskademux: Put a copy of the codec data into the
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834
7
matroskademux: Skip over zero-sized Xiph stream headers
=?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
CVE-2024-47540
CVE-2024-47601
CVE-2024-47602
CVE-2024-47603
CVE-2024-47834