CVE-2023-37329 GStreamer SRT File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

High 8.8 Published Updated

Remote attackers can execute arbitrary code by exploiting a heap-based buffer overflow in GStreamer's SRT subtitle file parser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-37329?

CVE-2023-37329 is a high-severity memory corruption vulnerability in Gstreamer Gstreamer, published on 3 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

GStreamer SRT File Parsing Heap-based Buffer 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 SRT subtitle files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-20968.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2023-37329?

It affects 1 product.

Linux distribution packages (21)
gstreamer-plugins-bad SUSE:Enterprise Storage 7.1All versions1.16.3-150300.9.6.2
gstreamer-plugins-bad SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions1.12.5-150000.3.9.1
gstreamer-plugins-bad SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions1.16.3-150200.4.7.2
gstreamer-plugins-bad SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions1.16.3-150300.9.6.2
gstreamer-plugins-bad SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.16.3-150300.9.6.2
gstreamer-plugins-bad SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions1.20.1-150400.3.3.1
gstreamer-plugins-bad SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.22.0-150500.3.3.1
gstreamer-plugins-bad SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions1.20.1-150400.3.3.1
gstreamer-plugins-bad SUSE:Linux Enterprise Module for Desktop Applications 15 SP5All versions1.22.0-150500.3.3.1
gstreamer-plugins-bad SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions1.20.1-150400.3.3.1
gstreamer-plugins-bad SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions1.22.0-150500.3.3.1
gstreamer-plugins-bad SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions1.12.5-150000.3.9.1
gstreamer-plugins-bad SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions1.16.3-150200.4.7.2
gstreamer-plugins-bad SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.16.3-150300.9.6.2
gstreamer-plugins-bad SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions1.12.5-150000.3.9.1
gstreamer-plugins-bad SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions1.16.3-150200.4.7.2
gstreamer-plugins-bad SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.16.3-150300.9.6.2
gstreamer-plugins-bad SUSE:Manager Proxy 4.2All versions1.16.3-150300.9.6.2
gstreamer-plugins-bad SUSE:Manager Server 4.2All versions1.16.3-150300.9.6.2
gstreamer-plugins-bad openSUSE:Leap 15.4All versions1.22.0-lp155.3.4.1
gstreamer-plugins-bad openSUSE:Leap 15.5All versions1.22.0-lp155.3.4.1

Products include Gstreamer Gstreamer.

How do I fix CVE-2023-37329?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-37329 being exploited?

There is no known exploitation of CVE-2023-37329 in the wild and no public exploit code.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as AZL-43777, AZL-44187, DEBIAN-CVE-2023-37329, DLA-3503-1, DSA-5444-1, GHSA-6jh6-8262-gqc4 and 8 more.

Is CVE-2023-37329 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free