CVE-2024-47598 GHSL-2024-246: GStreamer has an OOB-read in qtdemux_merge_sample_table

Medium 5.1 Published Updated

An out-of-bounds read in GStreamer's qtdemux component allows attackers to read memory beyond buffer limits, potentially causing crashes or data leaks.

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-47598?

CVE-2024-47598 is a medium-severity memory corruption 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. An OOB-read vulnerability has been discovered in the qtdemux_merge_sample_table function within qtdemux.c. The problem is that the size of the stts buffer isn’t properly checked before reading stts_duration, allowing the program to read 4 bytes beyond the boundaries of stts->data. This vulnerability reads up to 4 bytes past the allocated bounds of the stts array. This vulnerability is fixed in 1.24.10.

Weakness: CWE-125

Which versions are affected by CVE-2024-47598?

It affects 1 product.

Products include Gstreamer Gstreamer.

How do I fix CVE-2024-47598?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-47598 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47598 exists.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as AZL-62345, DEBIAN-CVE-2024-47598, UBUNTU-CVE-2024-47598.

Is CVE-2024-47598 in your software?

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

Check your SBOMs for free