CVE-2024-47835
GHSL-2024-263: Gstreamer NULL-pointer dereference in LRC subtitle parser
Reported by github_m · Published December 11, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gstreamer1-plugins-base-devel | Amazon Linux | 1.18.4-5.amzn2.0.8 |
| gstreamer1-plugins-base | Amazon Linux | 1.18.4-5.amzn2.0.8 |
| gstreamer1-plugins-base-tools | Amazon Linux | 1.18.4-5.amzn2.0.8 |
| gst-plugins-base | Alpine | 1.24.10-r0 |
| gstreamer | gstreamer | 1.24.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gstreamer | gstreamer | < 1.24.10 |
| amazon:2 | gstreamer1-plugins-base-devel | 0 |
| amazon:2 | gstreamer1-plugins-base | 0 |
| amazon:2 | gstreamer1-plugins-base-tools | 0 |
| alpine | gst-plugins-base | 0 |
| gstreamer | gstreamer | 0 |
Timeline
- Dec 3, 2024 CVE Published
- Dec 12, 2024 EPSS Score (30 in total, the first dated here)
- Apr 2, 2025 Coalition ESS Score (12 in total, the first dated here)
- Jan 3, 2026 Security Advisory (42 in total, the first dated here)
- Oct 15, 2026 Distribution Patch (25 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-47835
vulnetix vdb fixes CVE-2024-47835
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47835/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://securitylab.github.com/advisories/GHSL-2024-263_Gstreamer/ x_refsource_CONFIRM
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8039.patch x_refsource_MISC
- https://gstreamer.freedesktop.org/security/sa-2024-0029.html x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html advisory