CVE-2024-47606
gstreamer1-plugins-good: integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes
Overview
Description
GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the 'slice_size' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->mem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.
Source: OX vulnerability database
Severity
9.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-190, CWE-191
Affected packages · 3
Operating systems · 59 fixes
Oracle Linux 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | gstreamer1-plugins-base +4 | 1.10.4-2.0.1.el7 |
| 8 | gstreamer1-plugins-good +1 | 1.16.1-5.el8_10 |
| 9 | gstreamer1-plugins-good +1 | 1.22.1-3.el9_5 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | gstreamer +1 | 1.25.1-1.ph4 |
| 5.0 | gstreamer +1 | 1.25.1-1.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | gstreamer1-plugins-base +4 | 0:1.10.4-3.el7_9 | RHSA-2024:11344 |
| 8 | gstreamer1-plugins-good +1 | 0:1.16.1-2.el8_2 | RHSA-2024:11148 |
| 8 | gstreamer1-plugins-good +1 | 0:1.16.1-3.el8_4 | RHSA-2024:11346 |
| 8 | gstreamer1-plugins-good +1 | 0:1.16.1-3.el8_6 | RHSA-2024:11149 |
| 8 | gstreamer1-plugins-good +1 | 0:1.16.1-4.el8_8 | RHSA-2024:11348 |
| 8 | gstreamer1-plugins-good +1 | 0:1.16.1-5.el8_10 | RHSA-2024:11299 |
4 more rows
SUSE Linux Enterprise 4 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | gstreamer +6 | 1.8.3-10.12.1 | SUSE-SU-2025:0051-1 |
| 12.5 | gstreamer-plugins-good +1 | 1.8.3-16.12.1 | SUSE-SU-2025:0063-1 |
| 15.4 | gstreamer +5 | 1.20.1-150400.3.3.1 | SUSE-SU-2025:0070-1 |
| 15.4 | gstreamer-plugins-good +1 | 1.20.1-150400.3.9.1 | SUSE-SU-2025:0067-1 |
| 15.5 | gstreamer +5 | 1.22.0-150500.3.5.1 | SUSE-SU-2025:0053-1 |
| 15.5 | gstreamer-plugins-good +1 | 1.22.0-150500.4.6.1 | SUSE-SU-2025:0064-1 |
2 more rows
SUSE Linux Enterprise Micro 6 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | gstreamer +1 | 1.16.3-150200.3.6.1 | SUSE-SU-2025:02034-1 |
| 5.3 | gstreamer +1 | 1.20.1-150400.3.3.1 | SUSE-SU-2025:0070-1 |
| 5.4 | gstreamer +1 | 1.20.1-150400.3.3.1 | SUSE-SU-2025:0070-1 |
| 5.5 | gstreamer +1 | 1.22.0-150500.3.5.1 | SUSE-SU-2025:0053-1 |
| 6.0 | gstreamer +1 | 1.22.9-2.1 | SUSE-SU-2025:20693-1 |
| 6.1 | gstreamer +1 | 1.24.7-slfo.1.1_2.1 | SUSE-SU-2025:20240-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | gstreamer1-plugins-good +1 | 1.16.1-5.el8_10 |
| 9 | gstreamer1-plugins-good +1 | 1.22.1-3.el9_5 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | gst-plugins-good | 1.24.10-r0 |
| 3.23 | gst-plugins-good | 1.24.10-r0 |
| 3.24 | gst-plugins-good | 1.24.10-r0 |
| edge | gst-plugins-good | 1.24.10-r0 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openjdk-17-openj9 +1 | 0.53.0-r0 | |
| openjdk-8-openj9 | 0.53.0-r1 | |
| openjdk-25-openj9 +1 | 0.59.0-r1 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | gst-plugins-good1-0 | 1.18.4-2+deb11u3 |
| 11 | gstreamer1-0 | 1.18.4-2.1+deb11u1 |
| 12 | gstreamer1-0 | 1.22.0-2+deb12u1 |
| 12 | gst-plugins-good1-0 | 1.22.0-5+deb12u2 |
| 13 | gst-plugins-good1-0 +1 | 1.24.10-1 |
| 14 | gst-plugins-good1-0 +1 | 1.24.10-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| gstreamer1-0 | 1.22.0-2+deb12u1 | |
| gst-plugins-good1-0 | 1.22.0-5+deb12u2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gstreamer +9 | 1.24.10-2.1 | openSUSE-SU-2024:14576-1 |
| Tumbleweed | gstreamer-plugins-good +9 | 1.24.10-2.1 | openSUSE-SU-2024:14578-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | gstreamer1-plugins-good +1 | 1.16.1-5.el8_10 |
| 9 | gstreamer1-plugins-good +1 | 1.22.1-3.el9_5 |
ubuntu 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | gst-plugins-good1-0 +1 | affected |
| 20.04 | gstreamer1-0 | 1.16.3-0ubuntu1.2 |
| 20.04 | gst-plugins-good1-0 | 1.16.3-0ubuntu1.3 |
| 20.04-ESM | gstreamer1-0 | 1.16.3-0ubuntu1.2 |
| 20.04-ESM | gst-plugins-good1-0 | 1.16.3-0ubuntu1.3 |
| 22.04 | gstreamer1-0 | 1.20.3-0ubuntu1.1 |
3 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:11122
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:11299
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-47606
- bugzilla.redhat.com https://bugzilla.redhat.com/2331719
- bugzilla.redhat.com https://bugzilla.redhat.com/2331722
- bugzilla.redhat.com https://bugzilla.redhat.com/2331726
- bugzilla.redhat.com https://bugzilla.redhat.com/2331753
- bugzilla.redhat.com https://bugzilla.redhat.com/2331760
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2331719
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2331722
Show all 33 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2331726
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2331753
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2331760
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47537
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47539
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47540
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47606
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47613
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-11122.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:11299
- gitlab.freedesktop.org https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch
- gstreamer.freedesktop.org https://gstreamer.freedesktop.org/security/sa-2024-0014.html
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-47606.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-11344.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/12/msg00016.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-47606
- security.netapp.com https://security.netapp.com/advisory/ntap-20250418-0003/
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/
- ubuntu.com https://ubuntu.com/security/notices/USN-7174-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7176-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-47606
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.