CVE-2024-47540

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47540
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47540.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-47540
Downstream
Related
Published
2024-12-11T18:54:04Z
Modified
2025-10-14T14:34:56Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
GHSL-2024-197: GStreamer uses uninitialized stack memory in Matroska/WebM demuxer
Details

GStreamer is a library for constructing graphs of media-handling components. An uninitialized stack variable vulnerability has been identified in the gstmatroskademuxaddwvpkheader function within matroska-demux.c. When size < 4, the program calls gstbufferunmap with an uninitialized map variable. Then, in the gstmemoryunmap 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->memunmapfull or mem->allocator->memunmap. This vulnerability could allow an attacker to hijack the execution flow, potentially leading to code execution. This vulnerability is fixed in 1.24.10.

References

Affected packages

Git /

Affected ranges

Database specific

{
    "unresolved_versions": [
        {
            "events": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.24.10"
                }
            ],
            "type": ""
        }
    ]
}