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

6.8 CVSS

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.

Classification

CVE ID: CVE-2024-47835

CVSS Base Severity: MEDIUM

CVSS Base Score: 6.8

Affected Products

Vendor: gstreamer

Product: gstreamer

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 21.13% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://securitylab.github.com/advisories/GHSL-2024-263_Gstreamer/
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8039.patch
https://gstreamer.freedesktop.org/security/sa-2024-0029.html

Timeline