cve/2024/CVE-2024-47540.md
2025-09-29 21:09:30 +02:00

18 lines
1.2 KiB
Markdown

### [CVE-2024-47540](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47540)
![](https://img.shields.io/static/v1?label=Product&message=gstreamer&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%201.24.10%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-457%3A%20Use%20of%20Uninitialized%20Variable&color=brightgreen)
### Description
GStreamer is a library for constructing graphs of media-handling components. An uninitialized stack variable vulnerability has been identified in the gst_matroska_demux_add_wvpk_header function within matroska-demux.c. When size < 4, the program calls gst_buffer_unmap with an uninitialized map variable. Then, in the gst_memory_unmap function, the program will attempt to unmap the buffer using the uninitialized map variable, causing a function pointer hijack, as it will jump to mem->allocator->mem_unmap_full or mem->allocator->mem_unmap. This vulnerability could allow an attacker to hijack the execution flow, potentially leading to code execution. This vulnerability is fixed in 1.24.10.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/w4zu/Debian_security