CVE-2024-47834: GHSL-2024-280: Use-After-Free read in Matroska CodecPrivate in GStreamer - CVE-2024-47834

Published Dec 11, 2024
·
Updated

GStreamer is a library for constructing graphs of media-handling components. An Use-After-Free read vulnerability has been discovered affecting the processing of CodecPrivate elements in Matroska streams. In the GSTMATROSKAIDCODECPRIVATE case within the gstmatroskademuxparsestream function, a data chunk is allocated using gstebmlreadbinary. Later, the allocated memory is freed in the gstmatroskatrackfree function, by the call to gfree (track->codecpriv). Finally, the freed memory is accessed in the capsserialize function through gstvalueserializebuffer. The freed memory will be accessed in the gstvalueserializebuffer function. This results in a UAF read vulnerability, as the function tries to process memory that has already been freed. This vulnerability is fixed in 1.24.10.

Affected Software

16 affected componentsFixes available
GStreamer GStreamer<1.24.10
debian/gst-plugins-good1.0<1.22.0-5+deb12u2
1.22.0-5+deb12u2
debian/gst-plugins-good1.0<1.24.10-1
1.24.10-1
debian/gst-plugins-good1.0<1.24.10-1
1.24.10-1
alpine/gst-plugins-good<1.24.10-r0
1.24.10-r0
alpine/gst-plugins-good<1.24.10-r0
1.24.10-r0
alpine/gst-plugins-good<1.24.10-r0
1.24.10-r0
alpine/gst-plugins-good<1.24.10-r0
1.24.10-r0
alpine/gst-plugins-good<1.24.10-r0
1.24.10-r0
ubuntu/gst-plugins-good1.0*
ubuntu/gst-plugins-good0.10*
ubuntu/gst-plugins-good1.0*
ubuntu/gst-plugins-good1.0<1.16.3-0ubuntu1.3
1.16.3-0ubuntu1.3
ubuntu/gst-plugins-good1.0<1.20.3-0ubuntu1.3
1.20.3-0ubuntu1.3
ubuntu/gst-plugins-good1.0<1.24.2-1ubuntu1.1
1.24.2-1ubuntu1.1
debian/gst-plugins-good1.0
1.22.0-5+deb12u31.22.0-5+deb12u41.26.2-1+deb13u21.28.9-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gst-plugins-good1.0 to a version that resolves this vulnerability.

    Fixed in 1.22.0-5+deb12u2
  2. Upgrade

    Upgrade debian/gst-plugins-good1.0 to a version that resolves this vulnerability.

    Fixed in 1.24.10-1
  3. Upgrade

    Upgrade alpine/gst-plugins-good to a version that resolves this vulnerability.

    Fixed in 1.24.10-r0
  4. Upgrade

    Upgrade ubuntu/gst-plugins-good1.0 to a version that resolves this vulnerability.

    Fixed in 1.16.3-0ubuntu1.3
  5. Upgrade

    Upgrade ubuntu/gst-plugins-good1.0 to a version that resolves this vulnerability.

    Fixed in 1.20.3-0ubuntu1.3
  6. Upgrade

    Upgrade ubuntu/gst-plugins-good1.0 to a version that resolves this vulnerability.

    Fixed in 1.24.2-1ubuntu1.1
  7. Upgrade

    Upgrade debian/gst-plugins-good1.0 to a version that resolves this vulnerability.

    Fixed in 1.22.0-5+deb12u3Fixed in 1.22.0-5+deb12u4Fixed in 1.26.2-1+deb13u2Fixed in 1.28.9-1
  8. Upgrade

    Upgrade GStreamer to a version that resolves this vulnerability.

    Fixed in 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:18 PM
Data Sourced
via MITRE·07:18 PM
DescriptionWeakness
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Dec 12, 2024
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:03 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-47834?

CVE-2024-47834 is classified as a critical severity vulnerability due to its potential for exploitation in media handling.

2

How do I fix CVE-2024-47834?

To fix CVE-2024-47834, upgrade GStreamer to version 1.24.10 or later, or the specific patched versions for gst-plugins-good1.0.

3

Which versions of GStreamer are affected by CVE-2024-47834?

Versions of GStreamer prior to 1.24.10 are affected by CVE-2024-47834.

4

Is CVE-2024-47834 a widespread issue?

CVE-2024-47834 could potentially impact many applications using GStreamer for media processing.

5

What type of vulnerability is CVE-2024-47834?

CVE-2024-47834 is an Use-After-Free read vulnerability that occurs during codec processing in Matroska streams.

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