CVE-2024-47540
NixOS vulnerability analysis and mitigation

Overview

GStreamer, a library for constructing graphs of media-handling components, was found to contain an uninitialized stack variable vulnerability in the gstmatroskademuxaddwvpkheader function within matroska-demux.c. The vulnerability, identified as CVE-2024-47540, was discovered and reported by Antonio Morales from the GitHub Security Lab team. The issue affects versions prior to 1.24.10 and was fixed on December 3, 2024 ([GitHub Advisory](https://securitylab.github.com/advisories/GHSL-2024-197GStreamer/), GStreamer Advisory).

Technical details

The vulnerability occurs when size < 4, where the program calls gstbufferunmap with an uninitialized map variable. Subsequently, in the gstmemoryunmap function, the program attempts to unmap the buffer using this uninitialized map variable, causing a function pointer hijack as it will jump to mem->allocator->memunmapfull or mem->allocator->mem_unmap. The vulnerability has received a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

This vulnerability could allow an attacker to hijack the execution flow, potentially leading to code execution. The severity of the impact is reflected in its CRITICAL CVSS score, indicating the potential for complete compromise of system confidentiality, integrity, and availability (GitHub 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 available patch. Red Hat has also released security updates for affected products to address this vulnerability (GStreamer Advisory, Red Hat Advisory).

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