CVE-2024-47834
NixOS vulnerability analysis and mitigation

Overview

GStreamer, a library for constructing graphs of media-handling components, was found to contain a Use-After-Free (UAF) read vulnerability (CVE-2024-47834) affecting the processing of CodecPrivate elements in Matroska streams. The vulnerability was discovered by Antonio Morales from the GitHub Security Lab and was disclosed on December 11, 2024. The issue affects GStreamer versions prior to 1.24.10 (GitHub Security Lab, GStreamer Advisory).

Technical details

The vulnerability occurs in three stages within the Matroska demuxer: First, in the GSTMATROSKAIDCODECPRIVATE case within the gstmatroskademuxparsestream function, a data chunk is allocated using gstebmlreadbinary. Second, the allocated memory is freed in the gstmatroskatrackfree function through gfree (track->codecpriv). Finally, the freed memory is accessed in the gstvalueserializebuffer function, resulting in a UAF read vulnerability when the function attempts to process already freed memory (GitHub Security Lab).

Impact

The vulnerability can lead to an out-of-bounds read and memory leak. While the vulnerability does not directly result in a crash during normal operation, it can be detected when running the program with AddressSanitizer (ASAN) enabled. The issue allows a malicious third party to potentially trigger a crash of the application (GitHub Security Lab, GStreamer Advisory).

Mitigation and workarounds

The vulnerability has been fixed in GStreamer version 1.24.10. Users of older versions are advised to update to this version or apply and recompile with the provided patch. The fix involves putting a copy of the codec data into the AMS/ACM caps, as the original codec data buffer is owned by matroskademux and doesn't necessarily live as long as the caps (GStreamer Advisory, [Patch](https://gitlab.freedesktop.org/gstreamer/gstreamer/-/mergerequests/8057.patch)).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management