CVE-2024-47537 GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c

High 8.6 Published Updated

An integer overflow in GStreamer's MP4 demuxer allows out-of-bounds writes, potentially enabling remote code execution via malicious media files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47537?

CVE-2024-47537 is a high-severity vulnerability in Gstreamer Gstreamer, published on 11 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-190

Which versions are affected by CVE-2024-47537?

It affects 1 product.

Products include Gstreamer Gstreamer.

How do I fix CVE-2024-47537?

Upgrade to a fixed version.

Is CVE-2024-47537 being exploited?

There is no known exploitation of CVE-2024-47537 in the wild and no public exploit code.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as AZL-62417, CLSA-2025-1764688338, DEBIAN-CVE-2024-47537, UBUNTU-CVE-2024-47537.

Is CVE-2024-47537 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free