First published: Wed Dec 11 2024(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
GStreamer | <1.24.10 | |
debian/gst-plugins-good1.0 | <=1.18.4-2+deb11u2 | 1.22.0-5+deb12u2 1.24.12-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-47537 has a high severity rating due to its potential memory allocation issues.
To fix CVE-2024-47537, upgrade GStreamer to version 1.24.10 or later.
CVE-2024-47537 affects GStreamer versions prior to 1.24.10 and specific Debian packages.
CVE-2024-47537 represents a memory corruption vulnerability that could lead to application crashes or arbitrary code execution.
Currently, the best approach is to apply the available patches or upgrade affected software, as no specific workaround is recommended.