Vulnerabilities / CVE-2024-47606

critical

CVE-2024-47606

gstreamer1-plugins-good: integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes

Published Modified CWE 190, 191
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasejava, java-min, jre1.8.0, 8.0.451
Photon OS 4.0gstreamer, gstreamer-devel1.25.1-1.ph4
Photon OS 5.0gstreamer, gstreamer-devel1.25.1-1.ph5
alma 8gstreamer1-plugins-good, gstreamer1-plugins-good-gtk1.16.1-5.el8_10
alma 9gstreamer1-plugins-good, gstreamer1-plugins-good-gtk1.22.1-3.el9_5
alpine 3.20gst-plugins-good1.24.10-r0
alpine 3.21gst-plugins-good1.24.10-r0
alpine 3.22gst-plugins-good1.24.10-r0
alpine 3.23gst-plugins-good1.24.10-r0
alpine 3.24gst-plugins-good1.24.10-r0
alpine edgegst-plugins-good1.24.10-r0
amazon linux 2gstreamer1, gstreamer1-debuginfo, gstreamer1-devel and 3 more1.18.4-4.amzn2.0.2 and 1 more
Show all 79 entries from 39 sources
SourcePackageFixed in
bitnami::Bitnami Vulnerability Databasejava1.8.0, 8.0.451
bitnami::Bitnami Vulnerability Databasejava-min1.8.0, 8.0.451
bitnami::Bitnami Vulnerability Databasejre1.8.0, 8.0.451
Photon OS 4.0gstreamer1.25.1-1.ph4
Photon OS 4.0gstreamer-devel1.25.1-1.ph4
Photon OS 5.0gstreamer1.25.1-1.ph5
Photon OS 5.0gstreamer-devel1.25.1-1.ph5
alma 8gstreamer1-plugins-good1.16.1-5.el8_10
alma 8gstreamer1-plugins-good-gtk1.16.1-5.el8_10
alma 9gstreamer1-plugins-good1.22.1-3.el9_5
alma 9gstreamer1-plugins-good-gtk1.22.1-3.el9_5
alpine 3.20gst-plugins-good1.24.10-r0
alpine 3.21gst-plugins-good1.24.10-r0
alpine 3.22gst-plugins-good1.24.10-r0
alpine 3.23gst-plugins-good1.24.10-r0
alpine 3.24gst-plugins-good1.24.10-r0
alpine edgegst-plugins-good1.24.10-r0
amazon linux 2gstreamer11.18.4-4.amzn2.0.2
amazon linux 2gstreamer1-debuginfo1.18.4-4.amzn2.0.2
amazon linux 2gstreamer1-devel1.18.4-4.amzn2.0.2
amazon linux 2gstreamer1-plugins-good1.18.4-6.amzn2.0.6
amazon linux 2gstreamer1-plugins-good-debuginfo1.18.4-6.amzn2.0.6
amazon linux 2gstreamer1-plugins-good-gtk1.18.4-6.amzn2.0.6
chainguardopenjdk-11-openj90.53.0-r0
chainguardopenjdk-17-openj90.53.0-r0
chainguardopenjdk-21-openj90.53.0-r0
chainguardopenjdk-25-openj90.59.0-r1
chainguardopenjdk-26-openj90.59.0-r1
chainguardopenjdk-8-openj90.53.0-r1
debian 11gst-plugins-good1.01.18.4-2+deb11u3
debian 11gstreamer1.01.18.4-2.1+deb11u1
debian 12gst-plugins-good1.01.22.0-5+deb12u2
debian 12gstreamer1.01.22.0-2+deb12u1
debian 13gst-plugins-good1.01.24.10-1
debian 13gstreamer1.01.24.10-1
debian 14gst-plugins-good1.01.24.10-1
debian 14gstreamer1.01.24.10-1
echogst-plugins-good1.01.22.0-5+deb12u2
echogstreamer1.01.22.0-2+deb12u1
Oracle Linux 7gstreamer1-plugins-base1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-base-devel1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-base-devel-docs1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-base-tools1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-good1.10.4-2.0.1.el7
Oracle Linux 8gstreamer1-plugins-good1.16.1-5.el8_10
Oracle Linux 8gstreamer1-plugins-good-gtk1.16.1-5.el8_10
Oracle Linux 9gstreamer1-plugins-good1.22.1-3.el9_5
Oracle Linux 9gstreamer1-plugins-good-gtk1.22.1-3.el9_5
rapidfort alma 10gstreamer1-plugins-goodno fix listed
rapidfort alma 10gstreamer1-plugins-good-gtkno fix listed
rapidfort alpine 3.20gstreamer1.24.10-r0
rapidfort alpine 3.21gstreamer1.24.10-r0
rapidfort alpine 3.22gstreamer1.24.10-r0
rapidfort alpine 3.23gstreamer1.24.10-r0
rapidfort alpine 3.24gstreamer1.24.10-r0
rapidfort debian 12gst-plugins-good1.00:1.24.10-1
rapidfort debian 12gstreamer1.00:1.24.10-1
rapidfort debian 13gst-plugins-good1.00:1.24.10-1
rapidfort debian 13gstreamer1.00:1.24.10-1
rapidfort Oracle Linux 10gstreamer1-plugins-goodno fix listed
rapidfort Oracle Linux 10gstreamer1-plugins-good-gtkno fix listed
rapidfort Oracle Linux 9gstreamer1-plugins-good0:1.22.1-3.el9_5
rapidfort Oracle Linux 9gstreamer1-plugins-good-gtk0:1.22.1-3.el9_5
rocky 8gstreamer1-plugins-good1.16.1-5.el8_10
rocky 8gstreamer1-plugins-good-gtk1.16.1-5.el8_10
rocky 9gstreamer1-plugins-good1.22.1-3.el9_5
rocky 9gstreamer1-plugins-good-gtk1.22.1-3.el9_5
ubuntu 18.04-ESMgst-plugins-good1.0no fix listed
ubuntu 18.04-ESMgstreamer1.0no fix listed
ubuntu 20.04gst-plugins-good1.01.16.3-0ubuntu1.3
ubuntu 20.04gstreamer1.01.16.3-0ubuntu1.2
ubuntu 20.04-ESMgst-plugins-good1.01.16.3-0ubuntu1.3
ubuntu 20.04-ESMgstreamer1.01.16.3-0ubuntu1.2
ubuntu 22.04gst-plugins-good1.01.20.3-0ubuntu1.3
ubuntu 22.04gstreamer1.01.20.3-0ubuntu1.1
ubuntu 24.04gst-plugins-good1.01.24.2-1ubuntu1.1
ubuntu 24.04gstreamer1.01.24.2-1ubuntu0.1
ubuntu 24.10gst-plugins-good1.01.24.8-1ubuntu1.1
ubuntu 24.10gstreamer1.01.24.8-1ubuntu0.1

References

All 32 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.