PT-2024-9590 · Gstreamer+10 · Gstreamer+10

Antonio Morales

+1

·

Published

2024-10-07

·

Updated

2025-06-24

·

CVE-2024-47834

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions GStreamer versions prior to 1.24.10
Description The issue is related to a use-after-free vulnerability in the GStreamer multimedia framework. This vulnerability is associated with the processing of CodecPrivate elements in Matroska streams. Specifically, 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 through the call to g free (track->codec priv). However, the freed memory is accessed in the caps serialize function through gst value serialize buffer, resulting in a use-after-free read vulnerability. This occurs because the function attempts to process memory that has already been freed.
Recommendations For GStreamer versions prior to 1.24.10, update to version 1.24.10 or later to resolve the issue. As a temporary workaround, consider restricting access to the gst matroska demux parse stream function and the gst value serialize buffer function until a patch is available. Avoid using the gst ebml read binary function in the affected API endpoint until the issue is resolved.

Exploit

Fix

Use After Free

Weakness Enumeration

Related Identifiers

ALSA-2025:7242
ALSA-2025_7242
ALT-PU-2025-2299
AZL-62402
BDU:2024-11298
CVE-2024-47834
DLA-4071-1
DSA-5838-1
INFSA-2025_7242
OESA-2024-2592
OESA-2024-2593
OESA-2024-2594
OESA-2024-2595
OESA-2024-2596
OPENSUSE-SU-2025_0055-1
OPENSUSE-SU-2025_0064-1
OPENSUSE-SU-2025_0067-1
RHSA-2025:7242
RHSA-2025_7242
SUSE-SU-2025:00063-1
SUSE-SU-2025:0055-1
SUSE-SU-2025:0063-1
SUSE-SU-2025:0064-1
SUSE-SU-2025:0067-1
SUSE-SU-2025:02055-1
SUSE-SU-2025_02055-1
USN-7176-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Debian
Gstreamer
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu