CVE-2024-47539 GHSL-2024-195: GStreamer has an OOB-write in convert_to_s334_1a

High 8.6 Published Updated

An out-of-bounds write in GStreamer's qtdemux component allows attackers to overwrite memory, potentially leading to code execution or crashes.

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

CVE-2024-47539 is a high-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 out-of-bounds write vulnerability was identified in the convert_to_s334_1a function in isomp4/qtdemux.c. The vulnerability arises due to a discrepancy between the size of memory allocated to the storage array and the loop condition i * 2 < ccpair_size. Specifically, when ccpair_size is even, the allocated size in storage does not match the loop's expected bounds, resulting in an out-of-bounds write. This bug allows for the overwriting of up to 3 bytes beyond the allocated bounds of the storage array. This vulnerability is fixed in 1.24.10.

Weakness: CWE-787

Which versions are affected by CVE-2024-47539?

It affects 1 product.

Products include Gstreamer Gstreamer.

How do I fix CVE-2024-47539?

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-47539 being exploited?

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

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as AZL-62333, DEBIAN-CVE-2024-47539, UBUNTU-CVE-2024-47539.

Is CVE-2024-47539 in your software?

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

Check your SBOMs for free