GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GStreamer | gstreamer | before 1.24.10 | 1.24.10 | Patch available | CNA |
- gstreamer VendorGStreamer Affected before 1.24.10 Fixed in 1.24.10 Patch available CNA
Remediation
- Fix · CNA gstreamer (gstreamer) Fixed in 1.24.10
Red Hat 12 advisories
- RHSA-2025:3847 Released 2025-04-16 · Red Hat rating ModerateOpenJDK 8u452 Windows Security Update
- Red Hat Build of OpenJDK 8u452
- RHSA-2025:3846 Released 2025-04-16 · Red Hat rating ModerateOpenJDK 8u452 Security Update for Portable Linux Builds
- Red Hat Build of OpenJDK 8u452
- RHSA-2024:11348 Released 2024-12-18 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream EUS (v.8.8) gstreamer1-plugins-good-1.16.1-4.el8_8, gstreamer1-plugins-good-gtk-1.16.1-4.el8_8
Show 9 more Red Hat advisories
- RHSA-2024:11346 Released 2024-12-18 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) gstreamer1-plugins-good-1.16.1-3.el8_4, gstreamer1-plugins-good-gtk-1.16.1-3.el8_4
- Red Hat Enterprise Linux AppStream E4S (v.8.4) gstreamer1-plugins-good-1.16.1-3.el8_4, gstreamer1-plugins-good-gtk-1.16.1-3.el8_4
- Red Hat Enterprise Linux AppStream TUS (v.8.4) gstreamer1-plugins-good-1.16.1-3.el8_4, gstreamer1-plugins-good-gtk-1.16.1-3.el8_4
- RHSA-2024:11344 Released 2024-12-18 · Red Hat rating Importantgstreamer1-plugins-base and gstreamer1-plugins-good security update
- Red Hat Enterprise Linux Server (v. 7 ELS) gstreamer1-plugins-base-1.10.4-3.el7_9, gstreamer1-plugins-base-1.10.4-3.el7_9.ppc, gstreamer1-plugins-base-devel-1.10.4-3.el7_9 +3
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) gstreamer1-plugins-base-devel-docs-1.10.4-3.el7_9, gstreamer1-plugins-base-tools-1.10.4-3.el7_9
- RHSA-2024:11149 Released 2024-12-18 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) gstreamer1-plugins-good-1.16.1-3.el8_6, gstreamer1-plugins-good-gtk-1.16.1-3.el8_6
- Red Hat Enterprise Linux AppStream E4S (v.8.6) gstreamer1-plugins-good-1.16.1-3.el8_6, gstreamer1-plugins-good-gtk-1.16.1-3.el8_6
- Red Hat Enterprise Linux AppStream TUS (v.8.6) gstreamer1-plugins-good-1.16.1-3.el8_6, gstreamer1-plugins-good-gtk-1.16.1-3.el8_6
- RHSA-2024:11148 Released 2024-12-18 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) gstreamer1-plugins-good-1.16.1-2.el8_2, gstreamer1-plugins-good-gtk-1.16.1-2.el8_2
- RHSA-2024:11299 Released 2024-12-17 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream (v. 8) gstreamer1-plugins-good-1.16.1-5.el8_10, gstreamer1-plugins-good-gtk-1.16.1-5.el8_10
- RHSA-2024:11298 Released 2024-12-17 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) gstreamer1-plugins-good-1.18.4-6.el9_0, gstreamer1-plugins-good-gtk-1.18.4-6.el9_0
- RHSA-2024:11121 Released 2024-12-16 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) gstreamer1-plugins-good-1.22.1-3.el9_4, gstreamer1-plugins-good-gtk-1.22.1-3.el9_4
- RHSA-2024:11119 Released 2024-12-16 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream EUS (v.9.2) gstreamer1-plugins-good-1.18.4-7.el9_2, gstreamer1-plugins-good-gtk-1.18.4-7.el9_2
- RHSA-2024:11122 Released 2024-12-16 · Red Hat rating Importantgstreamer1-plugins-good security update
- Red Hat Enterprise Linux AppStream (v. 9) gstreamer1-plugins-good-1.22.1-3.el9_5, gstreamer1-plugins-good-gtk-1.22.1-3.el9_5
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Build of OpenJDK 8u452 | Fixed | RHSA-2025:3846 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:11299 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:11122 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2024:11148 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2024:11346 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2024:11149 |
| Red Hat Enterprise Linux AppStream E4S (v.8.4) | Fixed | RHSA-2024:11346 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2024:11149 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2024:11298 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2024:11348 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:11119 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2024:11121 |
| Red Hat Enterprise Linux AppStream TUS (v.8.4) | Fixed | RHSA-2024:11346 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2024:11149 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2024:11344 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2024:11344 |
Timeline
- 2026-10-02 Threatist record created from CVE-2024-47606
- 2026-10-09 Fix available: RHSA-2025:3847 · Red Hat
- 2026-10-09 Fix available: RHSA-2025:3846 · Red Hat
- 2026-10-26 Fix available: Red Hat Build of OpenJDK 8u452 · Red Hat
- 2026-11-03 CISA SSVC decision points changed
- 2026-11-06 Fix available: RHSA-2024:11148 · Red Hat
- 2026-11-06 Fix available: RHSA-2024:11299 · Red Hat
- 2026-11-06 Fix available: RHSA-2024:11298 · Red Hat
References
More Gstreamer vulnerabilities
- TI-2025-29786 In GStreamer through 1.26.1, the isomp4 plugin's qtdemux_parse_trak function may read… CVSS 3.1HIGH 8.1
- TI-2024-31895 GHSL-2024-117: GStreamer has an out-of-bounds write in Ogg demuxer CVSS 4.0HIGH 8.6
- TI-2024-31893 GHSL-2024-118: GStreamer has a null pointer dereference in gst_gdk_pixbuf_dec_flush CVSS 4.0HIGH 8.6
- TI-2024-31887 GHSL-2024-116: Stack-buffer overflow in gst_opus_dec_parse_header CVSS 4.0HIGH 8.6
- TI-2024-31829 GHSL-2024-197: GStreamer uses uninitialized stack memory in Matroska/WebM demuxer CVSS 4.0HIGH 8.6
- TI-2024-31828 GHSL-2024-195: GStreamer has an OOB-write in convert_to_s334_1a CVSS 4.0HIGH 8.6
Sources
- CVE-2024-47606 · CVE Program
- CVE-2024-47606 · NVD
- FIRST EPSS
- CVE-2024-47606 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences