CVE-2023-40475: GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability

Published Sep 28, 2023
·
Updated

[Integer overflow leading to heap overwrite in MXF file handling with AES3 audio]

Other sources

GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of MXF video files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-21661.

MITRE

Heap-based buffer overflow in the MXF file demuxer when handling malformed files with AES3 audio in GStreamer versions before 1.22.6 It is possible for a malicious third party to trigger a crash in the application, and possibly also effect code execution through heap manipulation.

https://gstreamer.freedesktop.org/security/sa-2023-0007.html

Red Hat

Affected Software

8 affected componentsFixes available
ubuntu/gst-plugins-bad1.0<1.16.3-0ubuntu1.1
1.16.3-0ubuntu1.1
ubuntu/gst-plugins-bad1.0<1.20.3-0ubuntu1.1
1.20.3-0ubuntu1.1
ubuntu/gst-plugins-bad1.0<1.22.1-1ubuntu1.1
1.22.1-1ubuntu1.1
ubuntu/gst-plugins-bad1.0<1.22.4-1ubuntu1.1
1.22.4-1ubuntu1.1
debian/gst-plugins-bad1.0<=1.14.4-1+deb10u2
1.14.4-1+deb10u51.18.4-3+deb11u41.22.0-4+deb12u51.22.10-11.24.2-3
redhat/gstreamer-plugins-bad<1.22.6
1.22.6
GStreamer GStreamer
GStreamer GStreamer<1.22.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1.16.3-0ubuntu1.1
  2. Upgrade

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

    Fixed in 1.20.3-0ubuntu1.1
  3. Upgrade

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

    Fixed in 1.22.1-1ubuntu1.1
  4. Upgrade

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

    Fixed in 1.22.4-1ubuntu1.1
  5. Upgrade

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

    Fixed in 1.14.4-1+deb10u5Fixed in 1.18.4-3+deb11u4Fixed in 1.22.0-4+deb12u5Fixed in 1.22.10-1Fixed in 1.24.2-3
  6. Upgrade

    Upgrade redhat/gstreamer-plugins-bad to a version that resolves this vulnerability.

    Fixed in 1.22.6
  7. Upgrade

    Upgrade gstreamer to a version that resolves this vulnerability.

    Fixed in 1.22.6Patch SA-2023-0007

Event History

Sep 28, 2023
CVE Published
via Ubuntu·12:00 AM
Dec 14, 2023
Data Sourced
via Red Hat·05:46 PM
DescriptionSeverityAffected Software
May 3, 2024
CVE Published
via MITRE·02:11 AM
Data Sourced
via MITRE·02:11 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 23, 2025
Advisory Published
via ZDI·01:33 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-40475?

CVE-2023-40475 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of GStreamer.

2

How severe is CVE-2023-40475?

CVE-2023-40475 has a severity rating of 8.8 (high severity).

3

How does CVE-2023-40475 affect GStreamer?

CVE-2023-40475 affects GStreamer and requires interaction with the library to exploit the vulnerability.

4

Where can I find more information about CVE-2023-40475?

You can find more information about CVE-2023-40475 at the following references: [MITRE CVE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-40475), [GStreamer Security Advisory](https://gstreamer.freedesktop.org/security/sa-2023-0007.html), [Zero Day Initiative Advisory](https://www.zerodayinitiative.com/advisories/ZDI-23-1457/).

5

How can I fix CVE-2023-40475?

To fix CVE-2023-40475, update your GStreamer installation to the specified versions provided in the affected software section.

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