CVE-2024-47835 GHSL-2024-263: Gstreamer NULL-pointer dereference in LRC subtitle parser

Medium 6.8 Published Updated

A null pointer dereference in the LRC subtitle parser allows attackers to cause a denial of service via crafted media files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-47835?

CVE-2024-47835 is a medium-severity vulnerability in Gstreamer Gstreamer, published on 11 Dec 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

GStreamer is a library for constructing graphs of media-handling components. A null pointer dereference vulnerability has been detected in the parse_lrc function within gstsubparse.c. The parse_lrc function calls strchr() to find the character ']' in the string line. The pointer returned by this call is then passed to g_strdup(). However, if the string line does not contain the character ']', strchr() returns NULL, and a call to g_strdup(start + 1) leads to a null pointer dereference. This vulnerability is fixed in 1.24.10.

Weakness: CWE-476

Which versions are affected by CVE-2024-47835?

It affects 1 product.

Products include Gstreamer Gstreamer.

How do I fix CVE-2024-47835?

Upgrade to a fixed version.

Is CVE-2024-47835 being exploited?

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

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as ALPINE-CVE-2024-47835, AZL-54303, AZL-54350, AZL-62363, BELL-CVE-2024-47835, CLSA-2025-1748639719 and 2 more.

Is CVE-2024-47835 in your software?

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

Check your SBOMs for free