Skip to content
Fencer Vulns
high 8.8

CVE-2023-40474 json

GStreamer MXF File Parsing Integer Overflow Remote Code Execution Vulnerability

published 2024-05-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-45045

cvss
8.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

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-21660.

Patch / fix

  • GStreamer GStreamer 1.22.6
  • gst-plugins-bad1.0 Debian 12 1.22.0-4+deb12u2
  • gst-plugins-bad1.0 Debian 14, Debian 13 1.22.7-1

debian advisories DEBIAN-CVE-2023-40474

  • gst-plugins-bad1.0 Ubuntu 20.04 LTS 1.16.3-0ubuntu1.1
  • gst-plugins-bad1.0 Ubuntu 22.04 LTS 1.20.3-0ubuntu1.1
  • gst-plugins-bad1.0 Ubuntu Pro 16.04 LTS 1.8.3-1ubuntu0.2+esm1
  • gst-plugins-bad1.0 Ubuntu Pro 18.04 LTS 1.14.5-0ubuntu1~18.04.1+esm1

ubuntu advisories UBUNTU-CVE-2023-40474

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gstreamer1-plugins-bad-free RHEL 8 1.16.1-4.el8
  • gstreamer1-plugins-bad-free RHEL 9 1.22.1-4.el9

red hat advisories RHSA-2024:3060RHSA-2024:2287

  • gstreamer SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.3-10.9.1
  • gstreamer SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.3-10.6.1
  • gstreamer-plugins-bad SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.3-18.9.3
  • gstreamer-plugins-bad SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +2 more 1.16.3-150300.9.12.2
  • gstreamer-plugins-bad SLE Module for Package Hub 15 SP4, SLE Module for Desktop Applications 15 SP4, SLE Module for Basesystem 15 SP4 1.20.1-150400.3.9.1
  • gstreamer-plugins-bad SLE Module for Package Hub 15 SP5, SLE Module for Desktop Applications 15 SP5, SLE Module for Basesystem 15 SP5 1.22.0-150500.3.9.1
  • gstreamer-plugins-bad SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.3-18.6.1
  • gstreamer-plugins-bad SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +2 more 1.16.3-150300.9.9.1

suse advisories SUSE-SU-2024:0307-1SUSE-SU-2023:4982-1SUSE-SU-2023:4980-1SUSE-SU-2023:4597-1SUSE-SU-2023:4596-1SUSE-SU-2023:4595-1

  • gstreamer-plugins-bad openSUSE Leap 15.5, openSUSE Leap 15.4 1.22.0-lp155.3.7.1

opensuse advisories openSUSE-SU-2023:0409-1

  • gstreamer1-plugins-bad-free AlmaLinux 8 1.16.1-4.el8
  • gstreamer1-plugins-bad-free AlmaLinux 9 1.22.1-4.el9

almalinux advisories ALSA-2024:3060ALSA-2024:2287

  • gstreamer1-plugins-bad-free Rocky Linux 8 1.16.1-4.el8
  • gstreamer1-plugins-bad-free Rocky Linux 9 1.22.1-4.el9

rocky linux advisories RLSA-2024:3060RLSA-2024:2287

  • gst-plugins-bad Alpine 3.18 1.22.7-r0
  • gst-plugins-bad Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.22.6-r0

alpine advisories ALPINE-CVE-2023-40474

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-40474 updated cvss 5.5

gstreamer-plugins-bad: Integer overflow leading to heap overwrite in MXF file handling with uncompressed video

  • Red Hat Enterprise Linux 6 gstreamer-plugins-bad-free, gstreamer-plugins-bad-free-extras Red Hat Enterprise Linux 7 gstreamer-plugins-bad-free, gstreamer1-plugins-bad-free, gstreamer1-plugins-bad-free-gtk
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) gstreamer1-plugins-bad-free 1.16.1-4.el8
    fixed: vendor fix RHSA-2024:3060
  • Red Hat Enterprise Linux AppStream (v. 9) gstreamer1-plugins-bad-free 1.22.1-4.el9
    fixed: vendor fix RHSA-2024:2287
  • Red Hat Enterprise Linux CRB (v. 8) gstreamer1-plugins-bad-free-devel 1.16.1-4.el8, gstreamer1-plugins-bad-free-debuginfo 1.16.1-4.el8, gstreamer1-plugins-bad-free-debugsource 1.16.1-4.el8
    fixed: vendor fix RHSA-2024:3060
  • Red Hat Enterprise Linux CRB (v. 9) gstreamer1-plugins-bad-free-devel 1.22.1-4.el9, gstreamer1-plugins-bad-free-debuginfo 1.22.1-4.el9, gstreamer1-plugins-bad-free-debugsource 1.22.1-4.el9
    fixed: vendor fix RHSA-2024:2287

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

2.10% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • GStreamer GStreamer

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.