CVE-2024-47606: GHSL-2024-166: Integer underflow in qtdemux_parse_theora_extension leading to function pointer overwrite in GStreamer - CVE-2024-47606

Published Dec 11, 2024
·
Updated

GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemuxparsetheoraextension 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 gstbuffernewandalloc. The function gstbuffernewallocate then attempts to allocate memory, eventually calling sysmemnewblock. The function sysmemnewblock adds alignment and header size to the (unsigned) size, causing the overflow of the 'slicesize' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gstbufferfill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gstmemoryunmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->memunmapfull 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.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

5 affected componentsFixes available
debian/gst-plugins-good1.0<=1.18.4-2+deb11u2
1.18.4-2+deb11u31.22.0-5+deb12u21.26.0-1
debian/gstreamer1.0<=1.18.4-2.1
1.18.4-2.1+deb11u11.22.0-2+deb12u11.26.0-1
Gstreamer Project Gstreamer<1.24.10
Debian Debian Linux=11.0
GStreamer GStreamer<1.24.10

Event History

Dec 11, 2024
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·07:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Dec 12, 2024
Data Sourced
via NVD·02:03 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 22, 2024
Data Sourced
via Ubuntu·03:20 PM
RemedyDescriptionSeverityAffected Software
Dec 30, 2024
Data Sourced
via Launchpad·03:22 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-47606?

CVE-2024-47606 is classified as a medium severity vulnerability due to the potential for exploitation via media handling components.

2

How do I fix CVE-2024-47606?

To mitigate CVE-2024-47606, update to the patched versions of the affected packages: gst-plugins-good1.0 at least 1.22.0-5+deb12u2 or gstreamer1.0 at least 1.18.4-2.1+deb11u1.

3

What software is affected by CVE-2024-47606?

CVE-2024-47606 affects GStreamer versions up to 1.24.10 and specific Debian packages such as gst-plugins-good1.0 and gstreamer1.0.

4

What kind of vulnerability is CVE-2024-47606?

CVE-2024-47606 is an integer underflow vulnerability found in the qtdemux_parse_theora_extension function.

5

Can CVE-2024-47606 be exploited remotely?

Yes, CVE-2024-47606 can potentially be exploited remotely through specially crafted media files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203